2013-02-01 19:43:17 -08:00
|
|
|
pub fn main() {
|
2013-01-30 16:21:10 -08:00
|
|
|
let mut x = 0;
|
2014-01-30 11:20:34 +11:00
|
|
|
for _ in range(0, 4096) { x += 1; }
|
2013-05-18 22:02:45 -04:00
|
|
|
assert_eq!(x, 4096);
|
2013-09-24 22:16:43 -07:00
|
|
|
println!("x = {}", x);
|
2013-02-14 11:47:00 -08:00
|
|
|
}
|