Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
for-loop-while
/
loop-label-shadowing.rs
blob: 9bedde67b78880c2cc8a6ef32fb73d0065541a97 [
file
] [
log
] [
blame
]
// run-pass
// Issue #12512.
// pretty-expanded FIXME #23616
fn
main
()
{
let
mut
foo
=
Vec
::
new
();
#[
allow
(
unused_labels
)]
'
foo
:
for
i in
&[
1
,
2
,
3
]
{
foo
.
push
(*
i
);
}
}