summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-17732.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-17732.rs')
-rw-r--r--tests/ui/issues/issue-17732.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-17732.rs b/tests/ui/issues/issue-17732.rs
new file mode 100644
index 000000000..8f63d5bae
--- /dev/null
+++ b/tests/ui/issues/issue-17732.rs
@@ -0,0 +1,13 @@
+// check-pass
+#![allow(dead_code)]
+#![allow(non_camel_case_types)]
+// pretty-expanded FIXME #23616
+
+trait Person {
+ type string;
+ fn dummy(&self) { }
+}
+
+struct Someone<P: Person>(std::marker::PhantomData<P>);
+
+fn main() {}