blob: 664abc071d2688aafb890e981a26517b53d2ed0f [file] [log] [blame]
fun test() {
foo<<error>Int?</error>>()
foo<Int>()
bar<Int?>()
bar<Int>()
bar<<error>Double?</error>>()
bar<<error>Double</error>>()
1.buzz<<error>Double</error>>()
}
fun <T : Any> foo() {}
fun <T : Int?> bar() {}
fun <T : <warning>Int</warning>> Int.buzz() : Unit {}