// IGNORE_BACKEND: JS class Test(val k: T) { fun test(x: T = k): String { return "O$x" } } fun box() = Test('K').test()