summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1241.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug1241.check')
-rw-r--r--test/files/neg/bug1241.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/bug1241.check b/test/files/neg/bug1241.check
index b846270c1b..48c86cabb7 100644
--- a/test/files/neg/bug1241.check
+++ b/test/files/neg/bug1241.check
@@ -1,4 +1,4 @@
-bug1241.scala:5: error: class type required
+bug1241.scala:5: error: class type required but AnyRef{def hello(): Unit} found
val x4 = new T { def hello() { println("4") } } // error!
^
one error found