aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t3419
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t3419')
-rw-r--r--tests/untried/pos/t3419/B_1.scala3
-rw-r--r--tests/untried/pos/t3419/C_2.scala3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/pos/t3419/B_1.scala b/tests/untried/pos/t3419/B_1.scala
new file mode 100644
index 000000000..f11701a86
--- /dev/null
+++ b/tests/untried/pos/t3419/B_1.scala
@@ -0,0 +1,3 @@
+trait T[A,B] {
+ type X[a <: A, b <: B] <: B
+}
diff --git a/tests/untried/pos/t3419/C_2.scala b/tests/untried/pos/t3419/C_2.scala
new file mode 100644
index 000000000..880c2838c
--- /dev/null
+++ b/tests/untried/pos/t3419/C_2.scala
@@ -0,0 +1,3 @@
+object F {
+ type S = T[Any,Int] {type X[N <: Int, Acc <: Int] = Acc}
+}