summaryrefslogtreecommitdiff
path: root/test/pending/run/bug1031.scala
blob: 4db567448918e1c4a667aba2d94db4292b7f888c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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 _ =>
      ;
  }
}