3 // compile-flags: -Z span-debug
4 // aux-build:test-macros.rs
6 // Tests that we properly pass tokens to proc-macro when nested
7 // nonterminals are involved.
9 #![no_std] // Don't load unnecessary hygiene information from std
13 extern crate test_macros
;
17 (first
, $e
:expr
) => { wrap!(second, $e + 1) }
;
18 (second
, $e
:expr
) => { wrap!(third, $e + 2) }
;
25 let _
= wrap
!(first
, 0);