Merge "diagnostic with Java 8" tests with general diagnostic tests

This commit is contained in:
Alexander Udalov
2017-08-01 10:49:08 -07:00
parent 8db736e2b4
commit 770441c212
70 changed files with 346 additions and 458 deletions

View File

@@ -0,0 +1,19 @@
// FULL_JDK
// FILE: RepeatableAnnotation.java
import java.lang.annotation.Repeatable
@Repeatable(RepeatableAnnotations.class)
public @interface RepeatableAnnotation {
}
// FILE: RepeatableAnnotations.java
public @interface RepeatableAnnotations {
RepeatableAnnotation[] value();
}
// FILE: RepeatableUse.kt
// Error should be gone when Java 8 Target will be available
@RepeatableAnnotation <!NON_SOURCE_REPEATED_ANNOTATION!>@RepeatableAnnotation<!> class My