summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-10-15 09:23:13 +0000
committerpaltherr <paltherr@epfl.ch>2003-10-15 09:23:13 +0000
commit0432dd179ad9c3ae2913ce655652a14e37be6973 (patch)
tree47279af965609e8f79d988a4bcf5500512ce0e01
parent3ba71965ef95dc416d9c7b9a82882acd83ee9001 (diff)
downloadscala-0432dd179ad9c3ae2913ce655652a14e37be6973.tar.gz
scala-0432dd179ad9c3ae2913ce655652a14e37be6973.tar.bz2
scala-0432dd179ad9c3ae2913ce655652a14e37be6973.zip
- Added bug 160
-rw-r--r--config/list/test-pos.lst1
-rw-r--r--test/files/pos/bug160.scala5
-rw-r--r--test/pos/bug160.scala5
3 files changed, 11 insertions, 0 deletions
diff --git a/config/list/test-pos.lst b/config/list/test-pos.lst
index 637866fabb..ec3c4be26e 100644
--- a/config/list/test-pos.lst
+++ b/config/list/test-pos.lst
@@ -16,6 +16,7 @@ pos/abstract.scala
pos/aliases.scala
pos/bug1.scala
pos/bug121.scala
+pos/bug160.scala
pos/bug17.scala
pos/bug183.scala
pos/bug193.scala
diff --git a/test/files/pos/bug160.scala b/test/files/pos/bug160.scala
new file mode 100644
index 0000000000..f1c36ebeae
--- /dev/null
+++ b/test/files/pos/bug160.scala
@@ -0,0 +1,5 @@
+// $Id$
+
+class Foo(s:String) {
+ def this() = { this("DEFAULT") }
+}
diff --git a/test/pos/bug160.scala b/test/pos/bug160.scala
new file mode 100644
index 0000000000..f1c36ebeae
--- /dev/null
+++ b/test/pos/bug160.scala
@@ -0,0 +1,5 @@
+// $Id$
+
+class Foo(s:String) {
+ def this() = { this("DEFAULT") }
+}