summaryrefslogtreecommitdiff
path: root/test-nsc/files/pos/bug116.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test-nsc/files/pos/bug116.scala')
-rwxr-xr-xtest-nsc/files/pos/bug116.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-nsc/files/pos/bug116.scala b/test-nsc/files/pos/bug116.scala
new file mode 100755
index 0000000000..b02c81f0b7
--- /dev/null
+++ b/test-nsc/files/pos/bug116.scala
@@ -0,0 +1,8 @@
+// $Id$
+
+class C {
+ def this(x: Int) = {
+ this();
+ class D extends C;
+ }
+}