about summary refs log tree commit diff
path: root/tests/ui/module-macro_use-arguments.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/module-macro_use-arguments.rs')
-rw-r--r--tests/ui/module-macro_use-arguments.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/module-macro_use-arguments.rs b/tests/ui/module-macro_use-arguments.rs
new file mode 100644
index 00000000000..121b492e254
--- /dev/null
+++ b/tests/ui/module-macro_use-arguments.rs
@@ -0,0 +1,6 @@
+#[macro_use(foo, bar)] //~ ERROR arguments to `macro_use` are not allowed here
+mod foo {
+}
+
+fn main() {
+}