diff options
Diffstat (limited to 'test/files/neg/t7756b.check')
-rw-r--r-- | test/files/neg/t7756b.check | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t7756b.check b/test/files/neg/t7756b.check new file mode 100644 index 0000000000..2817a7e230 --- /dev/null +++ b/test/files/neg/t7756b.check @@ -0,0 +1,6 @@ +t7756b.scala:3: warning: comparing values of types Int and String using `==' will always yield false + case _ => 0 == "" + ^ +error: No warnings can be incurred under -Xfatal-warnings. +one warning found +one error found |