summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-37733.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/issues/issue-37733.rs')
-rw-r--r--src/test/ui/issues/issue-37733.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-37733.rs b/src/test/ui/issues/issue-37733.rs
new file mode 100644
index 000000000..e211e2c33
--- /dev/null
+++ b/src/test/ui/issues/issue-37733.rs
@@ -0,0 +1,7 @@
+// build-pass
+#![allow(dead_code)]
+type A = for<> fn();
+
+type B = for<'a,> fn();
+
+pub fn main() {}