blob: ba240f657624442b4f50664c8cbe37a8ee8d000a [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) {}
}