Update tests, which check -X... flag in LauncherScriptTest

Previously, -Xallow-result-return-type was used to test, whether the
launcher parses -X... flags correctly, however, it has no effect -
returning Result is allowed anyway. So, instead, use -Xno-inline and
check runtime behavior.
This commit is contained in:
Ilmir Usmanov
2021-03-22 21:05:59 +01:00
committed by Space
parent 499ffd610a
commit 886e3e6655
5 changed files with 27 additions and 16 deletions
+3
View File
@@ -0,0 +1,3 @@
@file:CompilerOptions("-Xno-inline")
println("OK")