diff options
Diffstat (limited to 'test/files/neg/caseinherit.scala')
-rw-r--r-- | test/files/neg/caseinherit.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/caseinherit.scala b/test/files/neg/caseinherit.scala new file mode 100644 index 0000000000..fdac97c98e --- /dev/null +++ b/test/files/neg/caseinherit.scala @@ -0,0 +1,6 @@ +case class A(x: Int) +case class B(y: Int) extends A(y) +case object Bippy extends A(55) + +class Innocent extends A(5) +case class Dingus(y: Int) extends Innocent
\ No newline at end of file |