diff --git a/compiler/tests/org/jetbrains/kotlin/cli/WrongBytecodeVersionTest.kt b/compiler/tests/org/jetbrains/kotlin/cli/WrongBytecodeVersionTest.kt index f353617c62f..8cfb6f663ca 100644 --- a/compiler/tests/org/jetbrains/kotlin/cli/WrongBytecodeVersionTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/cli/WrongBytecodeVersionTest.kt @@ -50,7 +50,8 @@ class WrongBytecodeVersionTest : KtUsefulTestCase() { val (output, exitCode) = AbstractCliTest.executeCompilerGrabOutput(K2JVMCompiler(), listOf( usageSource.path, "-classpath", tmpdir.path, - "-d", tmpdir.path + "-d", tmpdir.path, + "-Xuse-old-backend" )) assertEquals("Compilation error expected", ExitCode.COMPILATION_ERROR, exitCode)