mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
17 lines
219 B
Rust
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;
|
|
}
|