summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/issue-37175.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/issue-37175.rs')
-rw-r--r--tests/ui/macros/issue-37175.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/macros/issue-37175.rs b/tests/ui/macros/issue-37175.rs
new file mode 100644
index 000000000..9ec9d48d1
--- /dev/null
+++ b/tests/ui/macros/issue-37175.rs
@@ -0,0 +1,5 @@
+// run-pass
+macro_rules! m { (<$t:ty>) => { stringify!($t) } }
+fn main() {
+ println!("{}", m!(<Vec<i32>>));
+}