rust/src/test/run-pass/over-constrained-vregs.rs

11 lines
132 B
Rust
Raw Normal View History

// Regression test for issue #152.
fn main() {
let uint b = 1u;
while (b <= 32u) {
0u << b;
b <<= 1u;
log b;
}
}