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:
@@ -0,0 +1,3 @@
|
||||
@file:CompilerOptions("-Xno-inline")
|
||||
|
||||
println("OK")
|
||||
Reference in New Issue
Block a user