summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/macro-use-both.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/macros/macro-use-both.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/macros/macro-use-both.rs b/src/test/ui/macros/macro-use-both.rs
new file mode 100644
index 000000000..ed5d1312f
--- /dev/null
+++ b/src/test/ui/macros/macro-use-both.rs
@@ -0,0 +1,10 @@
+// run-pass
+// aux-build:two_macros.rs
+
+#[macro_use(macro_one, macro_two)]
+extern crate two_macros;
+
+pub fn main() {
+ macro_one!();
+ macro_two!();
+}