From 35d1160cd65d21076b1f640624663ad7b35f9c56 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 5 Mar 2015 15:56:43 +0100 Subject: More tests Both some long overdue pos tests and more pickleOK tests --- tests/pos/printTest.scala | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/pos/printTest.scala (limited to 'tests/pos/printTest.scala') diff --git a/tests/pos/printTest.scala b/tests/pos/printTest.scala new file mode 100644 index 000000000..81730f82b --- /dev/null +++ b/tests/pos/printTest.scala @@ -0,0 +1,13 @@ +// tests printing functionality + +class C[X](x: Int, val y: String) { + +} + +object test extends C[String](1, "") { + + new C[Int](1, "") {} + + def foo(x: C[Int]) = new C[String](1, "") {} + +} -- cgit v1.2.3