blob: fa846d1adbae5681a92d27af227e86dfb9855fcb [file]
// TARGET_BACKEND: NATIVE
// FREE_COMPILER_ARGS: -Xbinary=preCodegenInlineThreshold=40
class A<T>(val x: T)
fun<T> foo(a: A<T>) = a.x
fun bar(a: A<Int>) {
foo(a)
}
fun box(): String {
val a = A(42)
bar(a)
return "OK"
}