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
219 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 15:05:03 -06:00
let outer!(g1) = 13;
2014-06-27 16:41:32 -05:00
g1;
}