summaryrefslogtreecommitdiff
path: root/test/files/neg/t909.scala
blob: cd67042e02b6078e0698b288580ec166a411cfc0 (plain) (blame)
1
2
3
4
5
6
7
8
9
case class Foo(x:Int)

object Bar {
        def main(args:Array[String]) {
                Foo(2) match {
                        case Foo("Hello") =>
                }
        }
}