Files
kotlin-fork/native/native.tests/testData/codegen/literals/strdedup1.kt
T
Vladimir Sukharev d972fec13c [K/N][tests] Move tests into better places
^KT-61259
2024-01-04 18:24:37 +00:00

18 lines
361 B
Kotlin
Vendored

/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
import kotlin.test.*
fun box(): String {
val str1 = "Hello"
val str2 = "Hello"
if (!(str1 == str2))
return "FAIL =="
if (!(str1 === str2))
return "FAIL ==="
return "OK"
}