summaryrefslogtreecommitdiff
path: root/test/files/run/t9200/test.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t9200/test.scala')
-rw-r--r--test/files/run/t9200/test.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/t9200/test.scala b/test/files/run/t9200/test.scala
new file mode 100644
index 0000000000..6fa7e91571
--- /dev/null
+++ b/test/files/run/t9200/test.scala
@@ -0,0 +1,12 @@
+trait W
+
+trait T1
+trait T2 extends T1
+
+object O1 {
+ type t = T1 with T2
+}
+
+class C1[w<:W](o: O1.t)
+
+class C2 extends T1 with T2