Sign in
fuchsia
/
third_party
/
rust
/
f22bb2e72267890782897c208bbc9114d023dfc7
/
.
/
src
/
test
/
ui
/
over-constrained-vregs.rs
blob: cc808147600b7cefac0ddcdf36130f05b450491e [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
unused_must_use
)]
// Regression test for issue #152.
pub
fn
main
()
{
let
mut
b
:
usize
=
1
_usize
;
while
b
<
std
::
mem
::
size_of
::<
usize
>()
{
0
_usize
<<
b
;
b
<<=
1
_usize
;
println
!(
"{}"
,
b
);
}
}