diff options
Diffstat (limited to 'test/files/pos/bug61.scala')
-rw-r--r-- | test/files/pos/bug61.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/bug61.scala b/test/files/pos/bug61.scala new file mode 100644 index 0000000000..dd3f94f30c --- /dev/null +++ b/test/files/pos/bug61.scala @@ -0,0 +1,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() => () + } +} |