d5987fd7f3
The fact that this was a codegen box test was probably an abuse of the testing infrastructure. It was never meant to pass, since it checks presence of an error, and diagnostic tests aren't enough since they might not check the full compiler execution.
12 lines
241 B
Kotlin
Vendored
12 lines
241 B
Kotlin
Vendored
@Target(AnnotationTarget.FIELD, AnnotationTarget.CLASS)
|
|
annotation class Anno
|
|
|
|
class UnresolvedArgument(@Anno(BLA) val s: Int)
|
|
|
|
class WithoutArguments(@Deprecated val s: Int)
|
|
|
|
fun test() {
|
|
UnresolvedArgument(3)
|
|
WithoutArguments(0)
|
|
}
|