summaryrefslogtreecommitdiff
path: root/test/files/neg/t5761.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2012-06-26 19:59:40 +0200
committerAdriaan Moors <adriaan.moors@epfl.ch>2012-06-26 20:01:23 +0200
commit215a249bf020cf915136e11e04048f0144ab1ea1 (patch)
tree85c4724b921257e1441b2b2c933ec7c16641d454 /test/files/neg/t5761.check
parent51de4973dbc0004b608b4c8ff140cb2786312189 (diff)
downloadscala-215a249bf020cf915136e11e04048f0144ab1ea1.tar.gz
scala-215a249bf020cf915136e11e04048f0144ab1ea1.tar.bz2
scala-215a249bf020cf915136e11e04048f0144ab1ea1.zip
SI-5761: fix up #774 (missing check file)
Diffstat (limited to 'test/files/neg/t5761.check')
-rw-r--r--test/files/neg/t5761.check16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/files/neg/t5761.check b/test/files/neg/t5761.check
new file mode 100644
index 0000000000..89d766fe34
--- /dev/null
+++ b/test/files/neg/t5761.check
@@ -0,0 +1,16 @@
+t5761.scala:4: error: not enough arguments for constructor D: (x: Int)D[Int].
+Unspecified value parameter x.
+ println(new D[Int]{}) // crash
+ ^
+t5761.scala:8: error: not enough arguments for constructor D: (x: Int)D[Int].
+Unspecified value parameter x.
+ println(new D[Int]()) // no crash
+ ^
+t5761.scala:9: error: not enough arguments for constructor D: (x: Int)D[Int].
+Unspecified value parameter x.
+ println(new D[Int]{}) // crash
+ ^
+t5761.scala:13: error: not found: type Tread
+ new Tread("sth") { }.run()
+ ^
+four errors found