diff options
Diffstat (limited to 'test/pos/bug69.scala')
-rw-r--r-- | test/pos/bug69.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/pos/bug69.scala b/test/pos/bug69.scala new file mode 100644 index 0000000000..113820613f --- /dev/null +++ b/test/pos/bug69.scala @@ -0,0 +1,11 @@ +object testCQ { + // why does this not work directly + case class Thing( name:String, contains:List[ Thing ] ); + + /* ... but this one does? + abstract class T; + case class Thing2( name:String, contains:List[ T ] ) extends T; + */ + +} + |