summaryrefslogtreecommitdiff
path: root/test/pending/pos
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2009-01-21 09:46:57 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2009-01-21 09:46:57 +0000
commit77852ce568332337a23b83b3dc911f2242373f1d (patch)
treedbf4f07302b0cf2ae79a31ce085cfb3d1f981633 /test/pending/pos
parent72cffa149f113e6e5dabf0702c92a0ee3f78f1be (diff)
downloadscala-77852ce568332337a23b83b3dc911f2242373f1d.tar.gz
scala-77852ce568332337a23b83b3dc911f2242373f1d.tar.bz2
scala-77852ce568332337a23b83b3dc911f2242373f1d.zip
Added test for #1659
Diffstat (limited to 'test/pending/pos')
-rw-r--r--test/pending/pos/t1659.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/pending/pos/t1659.scala b/test/pending/pos/t1659.scala
new file mode 100644
index 0000000000..10470d66f8
--- /dev/null
+++ b/test/pending/pos/t1659.scala
@@ -0,0 +1,4 @@
+trait Y { type X }
+trait W { def u[A](v : Y { type X = A }) : Unit }
+class Z extends W { def u[A](v : Y { type X = A }) = null }
+