From d6816e01433d88b474bbd0a7290bdc96890b9f37 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 19 Jan 2011 03:53:44 +0000 Subject: Moved and removed a bunch of tests from pending. --- test/files/pos/t0644.scala | 12 ++++++++++++ test/files/run/bug3530.check | 1 + test/files/run/bug3530.scala | 9 +++++++++ 3 files changed, 22 insertions(+) create mode 100644 test/files/pos/t0644.scala create mode 100644 test/files/run/bug3530.check create mode 100644 test/files/run/bug3530.scala (limited to 'test/files') diff --git a/test/files/pos/t0644.scala b/test/files/pos/t0644.scala new file mode 100644 index 0000000000..a92e2abb53 --- /dev/null +++ b/test/files/pos/t0644.scala @@ -0,0 +1,12 @@ +class A { + def apply(): Int = 0 + def update(n: Int) {} +} + +class B extends A { + this() + this()=1 + // 644 is wontfix so this is what should work. + super.apply() + super.update(1) +} diff --git a/test/files/run/bug3530.check b/test/files/run/bug3530.check new file mode 100644 index 0000000000..633c15d9d7 --- /dev/null +++ b/test/files/run/bug3530.check @@ -0,0 +1 @@ +Some List diff --git a/test/files/run/bug3530.scala b/test/files/run/bug3530.scala new file mode 100644 index 0000000000..f2c0034691 --- /dev/null +++ b/test/files/run/bug3530.scala @@ -0,0 +1,9 @@ +object Test { + def main(args: Array[String]) { + val list = List(1,2,3) + list match { + case List(_, _) => println("List with two elements") + case List(_*) => println("Some List") + } + } +} \ No newline at end of file -- cgit v1.2.3