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

12 lines
152 B
Rust

// run-pass
#![allow(unused_macros)]
macro_rules! m {
($e:expr) => {
macro_rules! n { () => { $e } }
}
}
fn main() {
m!(foo!());
}