summaryrefslogtreecommitdiff
path: root/test/files/neg/inlineMaxSize.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/inlineMaxSize.check')
-rw-r--r--test/files/neg/inlineMaxSize.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/inlineMaxSize.check b/test/files/neg/inlineMaxSize.check
index d218a8b6e2..9d790e154c 100644
--- a/test/files/neg/inlineMaxSize.check
+++ b/test/files/neg/inlineMaxSize.check
@@ -2,8 +2,8 @@ inlineMaxSize.scala:7: warning: C::i()I is annotated @inline but could not be in
The size of the callsite method C::j()I
would exceed the JVM method size limit after inlining C::i()I.
- @inline final def j = i + i
- ^
+ @inline final def j = i + i + i
+ ^
error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found