1 // Make sure that marks from declarative macros are applied to tokens in nonterminal.
4 // compile-flags: -Z span-debug -Z macro-backtrace -Z unpretty=expanded,hygiene
5 // compile-flags: -Z trim-diagnostic-paths=no
6 // normalize-stdout-test "\d+#" -> "0#"
7 // aux-build:test-macros.rs
9 #![feature(decl_macro)]
11 #![no_std] // Don't load unnecessary hygiene information from std
15 extern crate test_macros;
30 struct S; // OK, not a duplicate definition of `S`