summaryrefslogtreecommitdiff
path: root/test/files/neg/incompatibleSettings.check
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2015-07-02 14:06:15 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2015-07-03 20:17:45 +0200
commitcd878232b5747e8993bd0bae8c451c5128038130 (patch)
tree1390f79ee521d140dd42177db864abd83cf4b9a7 /test/files/neg/incompatibleSettings.check
parentc07442d8d2df084e7f22ca1c5102858a6aa15807 (diff)
downloadscala-cd878232b5747e8993bd0bae8c451c5128038130.tar.gz
scala-cd878232b5747e8993bd0bae8c451c5128038130.tar.bz2
scala-cd878232b5747e8993bd0bae8c451c5128038130.zip
Warn when combining settings for the old optimizer with -YGenBCode
Remove some unnecessary flags files - neg/t4425.flags - run/blame_eye_triple_eee-double.flags - run/blame_eye_triple_eee-float.flags Force tests that use -optimize to GenASM - neg/sealed-final-neg.flags - pos/inline-access-levels.flags - pos/inliner2.flags - pos/sealed-final.flags - pos/t3420.flags - pos/t8410.flags - run/constant-optimization.flags - run/dead-code-elimination.flags - run/elidable-opt.flags - run/finalvar.flags - run/icode-reader-dead-code.scala - run/optimizer-array-load.flags - run/synchronized.flags - run/t3509.flags - run/t3569.flags - run/t4285.flags - run/t4935.flags - run/t5789.scala - run/t6188.flags - run/t7459b-optimize.flags - run/t7582.flags - run/t7582b.flags - run/t8601.flags - run/t8601b.flags - run/t8601c.flags - run/t8601d.flags - run/t8601e.flags - run/t9003.flags Move some tests to the new optimizer - run/classfile-format-51.scala - run/classfile-format-52.scala - run/run-bug4840.flags - run/t2106.flags - run/t6102.flags
Diffstat (limited to 'test/files/neg/incompatibleSettings.check')
-rw-r--r--test/files/neg/incompatibleSettings.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/incompatibleSettings.check b/test/files/neg/incompatibleSettings.check
new file mode 100644
index 0000000000..0f28d41825
--- /dev/null
+++ b/test/files/neg/incompatibleSettings.check
@@ -0,0 +1,6 @@
+warning: Conflicting compiler settings were detected. Some settings will be ignored.
+Compiler settings for the 2.11 optimizer (-optimise) are incompatible with -Ybackend:GenBCode (which is the default in 2.12).
+The optimizer settings are ignored. See -Yopt:help for enabling the new optimizer in 2.12.
+error: No warnings can be incurred under -Xfatal-warnings.
+one warning found
+one error found