summaryrefslogtreecommitdiff
path: root/test/pending/run/bug1031.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/run/bug1031.scala')
-rw-r--r--test/pending/run/bug1031.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/pending/run/bug1031.scala b/test/pending/run/bug1031.scala
new file mode 100644
index 0000000000..4db5674489
--- /dev/null
+++ b/test/pending/run/bug1031.scala
@@ -0,0 +1,11 @@
+abstract class Tree
+case class Foo(xs: List[Int]) extends Tree
+
+object test extends Application {
+ Foo(Nil) match {
+ case Foo(xs: List[_]) =>
+ Console.println(xs)
+ case _ =>
+ ;
+ }
+}