Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
for-loop-while
/
for-loop-mut-ref-element.rs
blob: a3d82ace9e25e6dbbf83b059bcdb5efaa2895ddd [
file
] [
log
] [
blame
]
// run-pass
// Tests that for loops can bind elements as mutable references
fn
main
()
{
for
ref
mut
_a in std
::
iter
::
once
(
true
)
{}
}