]> git.proxmox.com Git - rustc.git/blame - src/test/ui/hygiene/hygienic-label-4.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / hygiene / hygienic-label-4.rs
CommitLineData
1a4d82fc 1macro_rules! foo {
85aaf69f 2 ($e: expr) => { 'x: for _ in 0..1 { $e } }
223e47cc
LB
3}
4
5pub fn main() {
1a4d82fc 6 foo!(break 'x); //~ ERROR use of undeclared label `'x`
223e47cc 7}