rust/src/test/ui/issues/issue-15221.rs
2019-07-27 18:56:16 +03:00

17 lines
219 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;
}