mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
12 lines
155 B
Rust
12 lines
155 B
Rust
//@ check-pass
|
|
#![allow(unused_macros)]
|
|
macro_rules! m {
|
|
($e:expr) => {
|
|
macro_rules! n { () => { $e } }
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
m!(foo!());
|
|
}
|