Files
kotlin-fork/compiler/testData/codegen/box/reflection/classLiterals/simpleClassLiteral.kt
T
Svyatoslav Scherbina 0021333b91 [Native][test] Unmute more passing tests
They now pass likely due to better handling of reflection information
when renaming packages when grouping tests (see cee0731).
2022-08-23 17:05:59 +00:00

9 lines
170 B
Kotlin
Vendored

// WITH_REFLECT
// IGNORE_BACKEND: ANDROID
class A
fun box(): String {
val klass = A::class
return if (klass.toString() == "class A") "OK" else "Fail: $klass"
}