c251eb19a6
In this commit, .ir.txt expectation test data files for the JVM IR backend are renamed to .txt. This is done as two separate commits so that Git would recognize that these files were logically moved, not that the contents of the original .txt files were changed. #KT-64680
76 lines
1.4 KiB
Plaintext
Vendored
76 lines
1.4 KiB
Plaintext
Vendored
package error;
|
|
|
|
public final class NonExistentClass {
|
|
}
|
|
|
|
////////////////////
|
|
|
|
package test;
|
|
|
|
/**
|
|
* KDoc comment.
|
|
*/
|
|
@kotlin.Metadata()
|
|
@kotlin.Suppress(names = {"UNRESOLVED_REFERENCE"})
|
|
public final class Simple {
|
|
|
|
public Simple() {
|
|
super();
|
|
}
|
|
|
|
@MyAnnotation()
|
|
public final void myMethod() {
|
|
}
|
|
|
|
public final int heavyMethod() {
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
////////////////////
|
|
|
|
package test;
|
|
|
|
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
|
@kotlin.Metadata()
|
|
public abstract @interface MyAnnotation {
|
|
}
|
|
|
|
////////////////////
|
|
|
|
package test;
|
|
|
|
@kotlin.Metadata()
|
|
public enum EnumClass {
|
|
/*public static final*/ BLACK /* = new BLACK() */,
|
|
/*public static final*/ WHITE /* = new WHITE() */;
|
|
|
|
EnumClass() {
|
|
}
|
|
|
|
@org.jetbrains.annotations.NotNull()
|
|
public static kotlin.enums.EnumEntries<test.EnumClass> getEntries() {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
////////////////////
|
|
|
|
package test;
|
|
|
|
@kotlin.Metadata()
|
|
public enum EnumClass2 {
|
|
/*public static final*/ WHITE /* = new WHITE(null) */,
|
|
/*public static final*/ RED /* = new RED(null) */;
|
|
@org.jetbrains.annotations.NotNull()
|
|
private final java.lang.String blah = null;
|
|
|
|
EnumClass2(java.lang.String blah) {
|
|
}
|
|
|
|
@org.jetbrains.annotations.NotNull()
|
|
public static kotlin.enums.EnumEntries<test.EnumClass2> getEntries() {
|
|
return null;
|
|
}
|
|
}
|