aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t119.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t119.scala')
-rw-r--r--tests/pos/t119.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pos/t119.scala b/tests/pos/t119.scala
new file mode 100644
index 000000000..44a156675
--- /dev/null
+++ b/tests/pos/t119.scala
@@ -0,0 +1,7 @@
+class K[E] {
+ case class A(v: E) {}
+}
+
+class K2 extends K[Int] {
+ val A(v) = A(42)
+}