2013-02-01 19:43:17 -08:00
|
|
|
pub fn main() {
|
2013-01-30 16:21:10 -08:00
|
|
|
let mut x = 0;
|
2013-08-01 04:18:19 +02:00
|
|
|
do 4096.times {
|
2013-01-30 16:21:10 -08:00
|
|
|
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
|
|
|
}
|