summaryrefslogtreecommitdiff
path: root/test/files/neg/t8015-ffb.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t8015-ffb.check')
-rw-r--r--test/files/neg/t8015-ffb.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t8015-ffb.check b/test/files/neg/t8015-ffb.check
new file mode 100644
index 0000000000..9b2171ea47
--- /dev/null
+++ b/test/files/neg/t8015-ffb.check
@@ -0,0 +1,6 @@
+t8015-ffb.scala:10: warning: side-effecting nullary methods are discouraged: suggest defining as `def w()` instead
+ def w = { x\u000c() } // ^L is colored blue on this screen, hardly visible
+ ^
+error: No warnings can be incurred under -Xfatal-warnings.
+one warning found
+one error found