// !LANGUAGE: +NewInference // !CHECK_TYPE // !DIAGNOSTICS: -UNUSED_PARAMETER -UNREACHABLE_CODE class Inv class Out fun invOut(y: K?): Inv> = TODO() fun test(x: Inv>): R = TODO() fun testNothing() { test(invOut(null)) checkType { _() } }