diff options
Diffstat (limited to 'tests/ui/proc-macro/shadow.rs')
-rw-r--r-- | tests/ui/proc-macro/shadow.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/shadow.rs b/tests/ui/proc-macro/shadow.rs new file mode 100644 index 000000000..61959594c --- /dev/null +++ b/tests/ui/proc-macro/shadow.rs @@ -0,0 +1,8 @@ +// aux-build:test-macros.rs + +#[macro_use] +extern crate test_macros; +#[macro_use] +extern crate test_macros; //~ ERROR the name `test_macros` is defined multiple times + +fn main() {} |