blob: 8c2ccab73b195341a5b2a1c712ca88685b27ad2e [file] [log] [blame]
// JVM_TARGET: 1.8
class A<T> {
fun id(x: T): T = x
}
fun foo(f: A<Boolean>): Int =
f.id(true).hashCode()
fun box(): String =
if (foo(A<Boolean>()) == true.hashCode()) "OK" else "Fail"