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