os-rust/tests/ui/hygiene/issue-15221.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
221 B
Rust
Raw Normal View History

//@ run-pass
#![allow(path_statements)]
//@ pretty-expanded FIXME #23616
macro_rules! inner {
($e:pat ) => ($e)
}
macro_rules! outer {
($e:pat ) => (inner!($e))
}
fn main() {
2015-01-25 22:05:03 +01:00
let outer!(g1) = 13;
2014-06-27 14:41:32 -07:00
g1;
}