summaryrefslogtreecommitdiff
path: root/test/files/pos/bug69.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/bug69.scala')
-rw-r--r--test/files/pos/bug69.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/bug69.scala b/test/files/pos/bug69.scala
new file mode 100644
index 0000000000..113820613f
--- /dev/null
+++ b/test/files/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;
+ */
+
+}
+