blob: 4cf00ad49843edc197f81a2b9dc47518a4494273 [file]
// TODO: string deduplication across several components seems to require
// linking them as bitcode modules before translating to machine code.
// IGNORE_BACKEND: JVM_IR
// DISABLE_NATIVE
// WITH_STDLIB
import kotlin.test.*
fun box(): String {
val str1 = ""
val str2 = "hello".subSequence(2, 2)
if(!(str1 == str2))
return "FAIL =="
if(!(str1 === str2))
return "FAIL ==="
return "OK"
}