summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-expanded-include/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/macro-expanded-include/test.rs')
-rw-r--r--tests/ui/macros/macro-expanded-include/test.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-expanded-include/test.rs b/tests/ui/macros/macro-expanded-include/test.rs
new file mode 100644
index 000000000..20da58a7e
--- /dev/null
+++ b/tests/ui/macros/macro-expanded-include/test.rs
@@ -0,0 +1,13 @@
+// needs-asm-support
+// build-pass (FIXME(62277): could be check-pass?)
+#![allow(unused)]
+
+#[macro_use]
+mod foo;
+
+m!();
+fn f() {
+ n!();
+}
+
+fn main() {}