blob: 7d922bafdcdb6b3df7d17e9a8cf0c5615d9613c6 [file] [log] [blame] [edit]
//@ check-pass
//@ compile-flags: -Z span-debug
//@ aux-build:nonterminal-recollect-attr.rs
#![no_std] // Don't load unnecessary hygiene information from std
extern crate std;
extern crate nonterminal_recollect_attr;
use nonterminal_recollect_attr::*;
macro_rules! my_macro {
($v:ident) => {
#[first_attr]
$v struct Foo {
field: u8
}
}
}
my_macro!(pub);
fn main() {}