| // TARGET_BACKEND: JVM_IR | |
| // JVM_ABI_K1_K2_DIFF: K2 serializes annotation parameter default values (KT-59526). | |
| annotation class MyReplaceWith(val x: String, vararg val y: String) | |
| annotation class MyDeprecated( | |
| val replaceWith: MyReplaceWith = MyReplaceWith(""), | |
| ) | |
| fun getInt(x: String, vararg y: String): Int = 1 | |
| fun test(x: Int = getInt("")) {} | |
| fun box() = "OK" |