aboutsummaryrefslogtreecommitdiff
path: root/proc-macro-error/test-crate/tests/ui/unrelated_panic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'proc-macro-error/test-crate/tests/ui/unrelated_panic.rs')
-rw-r--r--proc-macro-error/test-crate/tests/ui/unrelated_panic.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/proc-macro-error/test-crate/tests/ui/unrelated_panic.rs b/proc-macro-error/test-crate/tests/ui/unrelated_panic.rs
new file mode 100644
index 0000000..4863e5b
--- /dev/null
+++ b/proc-macro-error/test-crate/tests/ui/unrelated_panic.rs
@@ -0,0 +1,6 @@
+extern crate test_crate;
+use test_crate::make_fn;
+
+make_fn!();
+
+fn main() {}