From c854cc7fcc9d0f889c6235c1534133cff7360e7f Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 17 Mar 2014 18:44:39 +0100 Subject: More tests --- tests/pos/t119.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/pos/t119.scala (limited to 'tests/pos/t119.scala') 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) +} -- cgit v1.2.3