summaryrefslogtreecommitdiff
path: root/test/files/pos/t762.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t762.scala')
-rw-r--r--test/files/pos/t762.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/pos/t762.scala b/test/files/pos/t762.scala
new file mode 100644
index 0000000000..76860272ea
--- /dev/null
+++ b/test/files/pos/t762.scala
@@ -0,0 +1,2 @@
+trait Foo { type T }
+trait Bar extends Foo { val x : Foo { type T <: Bar.this.T } = this : this.type }