diff options
Diffstat (limited to 'tests/pos/t0069.scala')
-rw-r--r-- | tests/pos/t0069.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pos/t0069.scala b/tests/pos/t0069.scala new file mode 100644 index 000000000..e4c242c0e --- /dev/null +++ b/tests/pos/t0069.scala @@ -0,0 +1,10 @@ +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; + */ + +} |