| compiler/testData/cli/jvm/annotationDefaultTargetWithSuppressedOptIn.kt:4:20: warning: suppression of error 'OPT_IN_MARKER_ON_WRONG_TARGET' might compile and work, but the compiler behavior is UNSPECIFIED and WILL NOT BE PRESERVED. Please report your use case to the Kotlin issue tracker instead: https://kotl.in/issue | |
| class My(@Suppress("OPT_IN_MARKER_ON_WRONG_TARGET") @Marker val x: String) | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| compiler/testData/cli/jvm/annotationDefaultTargetWithSuppressedOptIn.kt:8:8: warning: this declaration needs opt-in. Its usage should be marked with '@Marker' or '@OptIn(Marker::class)' | |
| my.x | |
| ^ | |
| OK |