summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/issue-40469.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/issue-40469.rs')
-rw-r--r--tests/ui/macros/issue-40469.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/macros/issue-40469.rs b/tests/ui/macros/issue-40469.rs
new file mode 100644
index 000000000..25e08ef85
--- /dev/null
+++ b/tests/ui/macros/issue-40469.rs
@@ -0,0 +1,9 @@
+// run-pass
+// ignore-pretty issue #37195
+
+#![allow(dead_code)]
+
+include!("auxiliary/issue-40469.rs");
+fn f() { m!(); }
+
+fn main() {}