[TD] Update directives in kotlinAgainstKotlin testdata

This commit is contained in:
Dmitriy Novozhilov
2021-01-22 16:10:05 +03:00
parent 9ba41c5b88
commit 5075484c8e
48 changed files with 110 additions and 37 deletions
@@ -1,7 +1,7 @@
// TARGET_BACKEND: JVM
// MODULE: lib
// FILE: A.kt
// WITH_RUNTIME
// FILE: A.kt
abstract class IncrementalCompilerRunner<T>(
private val workingDir: String,
@@ -23,4 +23,4 @@ class IncrementalJsCompilerRunner(
fun box(): String {
val runner = IncrementalJsCompilerRunner(workingDir = "OK", fail = false)
return runner.res()
}
}
@@ -1,8 +1,8 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// MODULE: lib
// FILE: A.kt
// WITH_RUNTIME
// FILE: A.kt
abstract class IrConst<T> : IrExpression(), IrExpressionWithCopy {
abstract val kind: IrConstKind<T>
@@ -1,7 +1,7 @@
// TARGET_BACKEND: JVM
// MODULE: lib
// FILE: A.kt
// WITH_RUNTIME
// FILE: A.kt
package first.second
@@ -20,4 +20,4 @@ fun foo() = hasAnnotation(VOLATILE_ANNOTATION_FQ_NAME)
fun hasAnnotation(name: FqName): Boolean = true
fun box() = if (foo()) "OK" else "FAIL"
fun box() = if (foo()) "OK" else "FAIL"