118194381c
Issue #236
12 lines
128 B
Rust
12 lines
128 B
Rust
// error-pattern:fail
|
|
|
|
iter x() -> int {
|
|
let a = @0;
|
|
put 1;
|
|
}
|
|
|
|
fn main() {
|
|
for each x in x() {
|
|
fail;
|
|
}
|
|
} |