diff options
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/verify-ctor.check | 1 | ||||
-rw-r--r-- | test/files/run/verify-ctor.scala | 13 |
2 files changed, 0 insertions, 14 deletions
diff --git a/test/files/run/verify-ctor.check b/test/files/run/verify-ctor.check deleted file mode 100644 index 8baef1b4ab..0000000000 --- a/test/files/run/verify-ctor.check +++ /dev/null @@ -1 +0,0 @@ -abc diff --git a/test/files/run/verify-ctor.scala b/test/files/run/verify-ctor.scala deleted file mode 100644 index bbba17e821..0000000000 --- a/test/files/run/verify-ctor.scala +++ /dev/null @@ -1,13 +0,0 @@ -class Test(val str: String) { - def this(arr: Array[Char]) = this({ - if (arr.length == 0) exit(1) - new String(arr) - }) -} - -object Test { - def main(args: Array[String]) = { - val t = new Test(Array('a', 'b', 'c')) - println(t.str) - } -} |