summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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") }
+}