Files
kotlin/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayWithDefault.kt
Denis Zharkov 849b8acbf8 Replace annotations with brackets in testData
Just in tests that changed after deprecation
2015-05-07 22:36:16 +03:00

16 lines
241 B
Kotlin
Vendored

// FILE: A.java
public @interface A {
String[] value() default {"abc", "cde"};
}
// FILE: b.kt
@A("1", "2", "3") fun test1() {}
@A("4") fun test2() {}
@A(*arrayOf("5", "6"), "7") fun test3() {}
@A() fun test4() {}
@A fun test5() {}