// !CHECK_TYPE fun foo(vararg ts: T): T? = null class Pair(a: A) fun test() { val v = foo(Pair(1)) checkSubtype(v) // check that it is not error type }