compiler/testData/compileJavaAgainstKotlin/method/QExtendsString.kt (2 lines of code) (raw):

package test fun <T : String> id(p: T) = p