blob: b870b438a65406101839550ab906fca5a9123ad3 [file] [log] [blame]
// aux-build:more-gates.rs
#![feature(decl_macro)]
extern crate more_gates as foo;
use foo::*;
#[attr2mac1]
//~^ ERROR: cannot expand to macro definitions
pub fn a() {}
#[attr2mac2]
//~^ ERROR: cannot expand to macro definitions
pub fn a() {}
mac2mac1!(); //~ ERROR: cannot expand to macro definitions
mac2mac2!(); //~ ERROR: cannot expand to macro definitions
tricky!();
//~^ ERROR: cannot expand to macro definitions
fn main() {}