Files
kotlin-fork/compiler/testData/debug/stepping/kt29179.kt
T
Ilya Chernikov 5b3816cce5 Test infra: refactor IGNORE_BACKEND directive
treat it as a general one, introduce *_K1 and *_K2 variants for
more specific ignoring
2022-11-12 16:28:23 +01:00

33 lines
547 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// FILE: test.kt
class A {
val a = 1
fun bar() = 2
fun foo() {
3
//Breakpoint! from the Evaluate Expression test suite.
.toString()
}
}
fun box() {
A().foo()
}
// EXPECTATIONS JVM JVM_IR
// test.kt:14 box
// test.kt:3 <init>
// test.kt:4 <init>
// test.kt:14 box
// test.kt:7 foo
// test.kt:9 foo
// test.kt:10 foo
// test.kt:15 box
// EXPECTATIONS JS_IR
// test.kt:14 box
// test.kt:4 <init>
// test.kt:3 <init>
// test.kt:14 box
// test.kt:10 foo
// test.kt:15 box