rust/src/test/compile-fail/break-outside-loop.rs

8 lines
124 B
Rust

// xfail-stage0
// error-pattern:Break outside a loop
fn main() {
auto pth = break;
let rec(str t) res = rec(t=pth);
}