Files
kotlin-fork/backend.native/tests/external/codegen/box/classLiteral/bound/simple.kt
T
Pavel Punegov f097756721 Remove ignore tag for tests that don't fail any more
Check for execution correctness inside the test
Fix run_external to include compileKotlinAgainstKotlin
2018-03-05 19:53:35 +03:00

7 lines
141 B
Kotlin

fun box(): String {
val x: CharSequence = ""
val klass = x::class
return if (klass == String::class) "OK" else "Fail: $klass"
}