summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-10-15 13:05:34 +0000
committerpaltherr <paltherr@epfl.ch>2003-10-15 13:05:34 +0000
commit1a3084b2099a939f596e0ccb77f61dee90aeacd0 (patch)
treed00772df6e10d9c4afee50e391675938b034035a /test
parente006340aeb005de4904c51549b2bc06c4cb426d2 (diff)
downloadscala-1a3084b2099a939f596e0ccb77f61dee90aeacd0.tar.gz
scala-1a3084b2099a939f596e0ccb77f61dee90aeacd0.tar.bz2
scala-1a3084b2099a939f596e0ccb77f61dee90aeacd0.zip
- Added bug166
Diffstat (limited to 'test')
-rw-r--r--test/files/pos/bug116.scala8
-rw-r--r--test/pos/bug116.scala8
2 files changed, 16 insertions, 0 deletions
diff --git a/test/files/pos/bug116.scala b/test/files/pos/bug116.scala
new file mode 100644
index 0000000000..b02c81f0b7
--- /dev/null
+++ b/test/files/pos/bug116.scala
@@ -0,0 +1,8 @@
+// $Id$
+
+class C {
+ def this(x: Int) = {
+ this();
+ class D extends C;
+ }
+}
diff --git a/test/pos/bug116.scala b/test/pos/bug116.scala
new file mode 100644
index 0000000000..b02c81f0b7
--- /dev/null
+++ b/test/pos/bug116.scala
@@ -0,0 +1,8 @@
+// $Id$
+
+class C {
+ def this(x: Int) = {
+ this();
+ class D extends C;
+ }
+}