| // RUN_PIPELINE_TILL: FRONTEND | |
| // DIAGNOSTICS: -UNUSED_PARAMETER | |
| data class A(val x: Int, val y: String) { | |
| <!CONFLICTING_OVERLOADS!>fun copy(x: Int, y: String)<!> = x | |
| <!CONFLICTING_OVERLOADS!>fun copy(x: Int, y: String)<!> = A(x, y) | |
| } | |
| /* GENERATED_FIR_TAGS: classDeclaration, data, functionDeclaration, primaryConstructor, propertyDeclaration */ |