summaryrefslogtreecommitdiff
path: root/test/pending/pos/t1053.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/pos/t1053.scala')
-rwxr-xr-xtest/pending/pos/t1053.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/pending/pos/t1053.scala b/test/pending/pos/t1053.scala
new file mode 100755
index 0000000000..1d4dfb637e
--- /dev/null
+++ b/test/pending/pos/t1053.scala
@@ -0,0 +1,6 @@
+trait T[A] { trait U { type W = A; val x = 3 } }
+
+object Test {
+ val x : ({ type V = T[this.type] })#V = null
+ val y = new x.U { }
+}