2018-08-30 14:18:55 +02:00
|
|
|
//@ run-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(path_statements)]
|
2015-03-22 13:13:15 -07:00
|
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
|
2015-01-02 14:44:21 -08:00
|
|
|
macro_rules! inner {
|
|
|
|
($e:pat ) => ($e)
|
|
|
|
}
|
2014-06-27 13:10:47 -07:00
|
|
|
|
2015-01-02 14:44:21 -08:00
|
|
|
macro_rules! outer {
|
|
|
|
($e:pat ) => (inner!($e))
|
|
|
|
}
|
2014-06-27 13:10:47 -07:00
|
|
|
|
|
|
|
fn main() {
|
2015-01-25 22:05:03 +01:00
|
|
|
let outer!(g1) = 13;
|
2014-06-27 14:41:32 -07:00
|
|
|
g1;
|
2014-06-27 13:10:47 -07:00
|
|
|
}
|