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