1 // aux-build:two_macros.rs
2 // compile-flags:--extern non_existent
5 extern crate two_macros;
10 two_macros::m!(); //~ ERROR failed to resolve: use of undeclared crate or module `two_macros`
14 macro_rules! define_std_as_non_existent {
16 extern crate std as non_existent;
17 //~^ ERROR `extern crate` items cannot shadow names passed with `--extern`
20 define_std_as_non_existent!();