diff options
Diffstat (limited to 'tests/pos/t0061.scala')
-rw-r--r-- | tests/pos/t0061.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pos/t0061.scala b/tests/pos/t0061.scala index dd3f94f30..8a3aed7c6 100644 --- a/tests/pos/t0061.scala +++ b/tests/pos/t0061.scala @@ -2,8 +2,8 @@ object O { class testClass ; - case class testA() extends testClass ; // works if you leave away "extends..." - // or if you write TestA + case class testA() extends testClass ; + def ga( x:testClass ) = x match { case testA() => () } |