Sign in
rust
/
rust
/
08650fbb506c44fbc95d91abfb7cd95a56bbff30
/
.
/
src
/
test
/
ui
/
for-loop-while
/
loop-label-shadowing.rs
blob: 9bedde67b78880c2cc8a6ef32fb73d0065541a97 [
file
]
// 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
);
}
}