diff options
Diffstat (limited to 'tests/ui/macros/macro-use-undef.rs')
-rw-r--r-- | tests/ui/macros/macro-use-undef.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-use-undef.rs b/tests/ui/macros/macro-use-undef.rs new file mode 100644 index 000000000..ae3054e7b --- /dev/null +++ b/tests/ui/macros/macro-use-undef.rs @@ -0,0 +1,8 @@ +// aux-build:two_macros.rs + +#[macro_use(macro_two, no_way)] //~ ERROR imported macro not found +extern crate two_macros; + +pub fn main() { + macro_two!(); +} |