diff options
Diffstat (limited to 'tests/pos/t0061.scala')
-rw-r--r-- | tests/pos/t0061.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pos/t0061.scala b/tests/pos/t0061.scala new file mode 100644 index 000000000..8a3aed7c6 --- /dev/null +++ b/tests/pos/t0061.scala @@ -0,0 +1,10 @@ +object O { + + class testClass ; + + case class testA() extends testClass ; + + def ga( x:testClass ) = x match { + case testA() => () + } +} |