mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
8 lines
138 B
Kotlin
Vendored
8 lines
138 B
Kotlin
Vendored
data class A<T>(val t: T)
|
|
|
|
fun box(): String {
|
|
val h = A<String?>(null).hashCode()
|
|
if (h != 0) return "Fail $h"
|
|
return "OK"
|
|
}
|