1 // aux-build:test-macros.rs
2 // compile-flags: -Z span-debug
5 // Tests that we properly handle parsing a nonterminal
6 // where we have two consecutive angle brackets (one inside
7 // the nonterminal, and one outside)
9 #![no_std] // Don't load unnecessary hygiene information from std
11 extern crate test_macros;
13 macro_rules! trailing_angle {
14 (Option<$field:ty>) => {
15 test_macros::print_bang_consume!($field);
19 trailing_angle!(Option<Vec<u8>>);