summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs')
-rw-r--r--src/test/ui/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs b/src/test/ui/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs
new file mode 100644
index 000000000..3c830d370
--- /dev/null
+++ b/src/test/ui/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs
@@ -0,0 +1,9 @@
+// run-pass
+// pretty-expanded FIXME #23616
+
+trait Foo<T> {
+ type Bar;
+ fn get_bar() -> <Self as Foo<T>>::Bar;
+}
+
+fn main() { }