Sign in
fuchsia
/
third_party
/
rust
/
4bf20b2b558289e9dcffd496890df116f98612c7
/
.
/
tests
/
ui
/
loops
/
issue-1962.fixed
blob: f0002be4bea0084a18efd18a6e5a65044763ecae [
file
] [
log
] [
blame
]
//@ compile-flags: -D while-true
//@ run-rustfix
fn main
()
{
let
mut i
=
0
;
'a: loop { //~ ERROR denote infinite loops with `loop
i += 1;
if i == 5 { break '
a
;
}
}
}