2010-08-26 16:26:51 -07:00
|
|
|
|
2011-06-15 11:19:50 -07:00
|
|
|
|
|
|
|
|
|
|
|
// Regression test for issue #152.
|
2011-12-22 14:42:52 -08:00
|
|
|
fn main() {
|
2012-03-22 08:39:41 -07:00
|
|
|
let mut b: uint = 1u;
|
2011-12-22 14:42:52 -08:00
|
|
|
while b <= 32u {
|
|
|
|
0u << b;
|
|
|
|
b <<= 1u;
|
2011-12-22 17:53:53 -08:00
|
|
|
log(debug, b);
|
2011-12-22 14:42:52 -08:00
|
|
|
}
|
|
|
|
}
|