aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t3234.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t3234.check')
-rw-r--r--tests/untried/neg/t3234.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/neg/t3234.check b/tests/untried/neg/t3234.check
new file mode 100644
index 000000000..8f0d624ed
--- /dev/null
+++ b/tests/untried/neg/t3234.check
@@ -0,0 +1,6 @@
+t3234.scala:17: warning: At the end of the day, could not inline @inline-marked method foo3
+ println(foo(42) + foo2(11) + foo3(2))
+ ^
+error: No warnings can be incurred under -Xfatal-warnings.
+one warning found
+one error found