rust/src/test/ui/parser/issues/issue-87812.rs
Badel2 8c8914ecab Move parser tests to parser/issues subdirectory
Because the parser directory has already reached the 1000 file limit.
2021-11-20 14:52:21 +01:00

13 lines
192 B
Rust

#![deny(break_with_label_and_loop)]
macro_rules! foo {
( $f:block ) => {
'_l: loop {
break '_l $f; //~ERROR
}
};
}
fn main() {
let x = foo!({ 3 });
}