diff options
Diffstat (limited to 'test/files/neg/bug1241.check')
-rw-r--r-- | test/files/neg/bug1241.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/bug1241.check b/test/files/neg/bug1241.check new file mode 100644 index 0000000000..79271f56be --- /dev/null +++ b/test/files/neg/bug1241.check @@ -0,0 +1,4 @@ +bug1241.scala:5: error: AnyRef{def hello(): Unit} does not have a constructor + val x4 = new T { def hello() { println("4") } } // error! + ^ +one error found |