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