about summary refs log tree commit diff
path: root/tests/ui/extern/macro-use-extern-std-14330.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/extern/macro-use-extern-std-14330.rs')
-rw-r--r--tests/ui/extern/macro-use-extern-std-14330.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/extern/macro-use-extern-std-14330.rs b/tests/ui/extern/macro-use-extern-std-14330.rs
new file mode 100644
index 00000000000..11199db5901
--- /dev/null
+++ b/tests/ui/extern/macro-use-extern-std-14330.rs
@@ -0,0 +1,6 @@
+//@ check-pass
+#![allow(unused_imports)]
+
+#[macro_use] extern crate std as std2;
+
+fn main() {}