summaryrefslogtreecommitdiffstats
path: root/src/test/ui/empty/empty-macro-use.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/empty/empty-macro-use.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/empty/empty-macro-use.rs b/src/test/ui/empty/empty-macro-use.rs
new file mode 100644
index 000000000..846004e66
--- /dev/null
+++ b/src/test/ui/empty/empty-macro-use.rs
@@ -0,0 +1,9 @@
+// aux-build:two_macros.rs
+
+#[macro_use()]
+extern crate two_macros;
+
+pub fn main() {
+ macro_two!();
+ //~^ ERROR cannot find macro
+}