mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 05:34:45 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
16 lines
188 B
Rust
16 lines
188 B
Rust
//@ run-pass
|
|
#![allow(path_statements)]
|
|
|
|
macro_rules! inner {
|
|
($e:pat ) => ($e)
|
|
}
|
|
|
|
macro_rules! outer {
|
|
($e:pat ) => (inner!($e))
|
|
}
|
|
|
|
fn main() {
|
|
let outer!(g1) = 13;
|
|
g1;
|
|
}
|