summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-10-15 13:17:20 +0000
committerpaltherr <paltherr@epfl.ch>2003-10-15 13:17:20 +0000
commit99b4e7dc35d230c0b5173cfd4c0095499f026a57 (patch)
tree29e3d3cc458efabd1b4b349ecf17eaf60731725c
parent1a3084b2099a939f596e0ccb77f61dee90aeacd0 (diff)
downloadscala-99b4e7dc35d230c0b5173cfd4c0095499f026a57.tar.gz
scala-99b4e7dc35d230c0b5173cfd4c0095499f026a57.tar.bz2
scala-99b4e7dc35d230c0b5173cfd4c0095499f026a57.zip
- Added bug175
-rw-r--r--config/list/test-pos.lst1
-rw-r--r--test/files/pos/bug175.scala5
-rw-r--r--test/pos/bug175.scala5
3 files changed, 11 insertions, 0 deletions
diff --git a/config/list/test-pos.lst b/config/list/test-pos.lst
index dfdcf517aa..b428fbff3a 100644
--- a/config/list/test-pos.lst
+++ b/config/list/test-pos.lst
@@ -19,6 +19,7 @@ pos/bug116.scala
pos/bug121.scala
pos/bug160.scala
pos/bug17.scala
+pos/bug175.scala
pos/bug177.scala
pos/bug183.scala
pos/bug193.scala
diff --git a/test/files/pos/bug175.scala b/test/files/pos/bug175.scala
new file mode 100644
index 0000000000..2ef26589c2
--- /dev/null
+++ b/test/files/pos/bug175.scala
@@ -0,0 +1,5 @@
+// $Id$
+
+abstract class C {
+ def this(x: Unit) = { this() }
+}
diff --git a/test/pos/bug175.scala b/test/pos/bug175.scala
new file mode 100644
index 0000000000..2ef26589c2
--- /dev/null
+++ b/test/pos/bug175.scala
@@ -0,0 +1,5 @@
+// $Id$
+
+abstract class C {
+ def this(x: Unit) = { this() }
+}