summaryrefslogblamecommitdiff
path: root/test/files/pos/t0061.scala
blob: dd3f94f30cec135d6262ffa5b3c15c12d483279e (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                                
object O {

  class testClass ;

  case class testA() extends testClass ; // works if you leave away "extends..."
                                         // or if you write TestA
  def ga( x:testClass ) = x match {
	  case testA() => ()
  }
}