Minor, move wrongAnnotationArgumentInCtor.kt to CLI tests
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.
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JVM, JS, NATIVE
|
||||
|
||||
// Here we check that there is compilation error, so ignore_backend directive is actual
|
||||
|
||||
@Target(AnnotationTarget.FIELD, AnnotationTarget.CLASS)
|
||||
annotation class Anno
|
||||
|
||||
class UnresolvedArgument(@Anno(BLA) val s: Int)
|
||||
|
||||
class WithoutArguments(@Deprecated val s: Int)
|
||||
|
||||
fun box(): String {
|
||||
UnresolvedArgument(3)
|
||||
WithoutArguments(0)
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user