blob: 883140b096b18fc9a0c9da0a22c05f8a2094de9c [file]
warning: the argument '-Xannotation-default-target=first-only' disables a stable language feature for the current language version 2.5. Future support for this mode is not guaranteed.
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)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OK