[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
// !DIAGNOSTICS: -SUPERTYPES_FOR_ANNOTATION_CLASS -VIRTUAL_MEMBER_HIDDEN -FINAL_SUPERTYPE -MISSING_DEPENDENCY_SUPERCLASS
|
||||
// These errors need to be suppressed to cause light class generation
|
||||
// FILE: test.kt
|
||||
|
||||
annotation class Ann : Target()
|
||||
|
||||
annotation class Ann2(vararg val allowedTargets: AnnotationTarget) : Target()
|
||||
|
||||
interface I : J {
|
||||
override fun foo(): List<String> = throw Exception()
|
||||
}
|
||||
class C : I {
|
||||
fun bar(): Set<Number> = throw Exception()
|
||||
}
|
||||
annotation class Ann3 : C()
|
||||
annotation class Ann4 : I
|
||||
|
||||
// FILE: J.java
|
||||
|
||||
import java.util.Collection;
|
||||
import kotlin.annotation.Target;
|
||||
|
||||
public interface J extends Target {
|
||||
Collection<String> foo();
|
||||
}
|
||||
Reference in New Issue
Block a user