rust/tests/ui/hygiene/issue-15221.rs
2024-02-16 20:02:50 +00:00

17 lines
221 B
Rust

//@ run-pass
#![allow(path_statements)]
//@ pretty-expanded FIXME #23616
macro_rules! inner {
($e:pat ) => ($e)
}
macro_rules! outer {
($e:pat ) => (inner!($e))
}
fn main() {
let outer!(g1) = 13;
g1;
}