diff options
Diffstat (limited to 'test/files/neg/t5839.check')
-rw-r--r-- | test/files/neg/t5839.check | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t5839.check b/test/files/neg/t5839.check new file mode 100644 index 0000000000..d4b125bd1e --- /dev/null +++ b/test/files/neg/t5839.check @@ -0,0 +1,6 @@ +t5839.scala:5: error: type mismatch; + found : (x: String => String)Int <and> (x: Int)Int + required: Int => String + val x: String = goo(foo _) + ^ +one error found |