Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
4486c24db3ca1c698b34ea08bee15194774b53df
/
.
/
tests
/
ui
/
for-loop-while
/
labeled-break.rs
blob: 0dfbdc02f5b5b7fed37cdbd02b703dc81c4301f0 [
file
] [
log
] [
blame
]
//@ run-pass
//@ pretty-expanded FIXME #23616
pub
fn
main
()
{
'
foo
:
loop
{
loop
{
break
'
foo
;
}
}
'
bar
:
for
_ in
0.
.
100
{
loop
{
break
'
bar
;
}
}
'
foobar
:
while
1
+
1
==
2
{
loop
{
break
'
foobar
;
}
}
}