diff options
Diffstat (limited to 'test/pending')
-rw-r--r-- | test/pending/neg/bug421.scala | 9 | ||||
-rwxr-xr-x | test/pending/run/bug551.scala | 5 |
2 files changed, 14 insertions, 0 deletions
diff --git a/test/pending/neg/bug421.scala b/test/pending/neg/bug421.scala new file mode 100644 index 0000000000..bf7346f01a --- /dev/null +++ b/test/pending/neg/bug421.scala @@ -0,0 +1,9 @@ +object foo { + case class Bar(a:String, b:Object, c:String*); + + + Bar("foo","meets","bar") match { + case Bar("foo",_*) => error("huh?"); + } + +} diff --git a/test/pending/run/bug551.scala b/test/pending/run/bug551.scala new file mode 100755 index 0000000000..ffa36d7cb0 --- /dev/null +++ b/test/pending/run/bug551.scala @@ -0,0 +1,5 @@ +case class A(x: int) +class B(x: int) extends A(x) +object Test extends Application { + Console.println(A(1) == new B(1)) +} |