Light class tests: add tests
- test Jvm* annotations with wrong arguments - test JvmStatic annotation - test JvmName annotation
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
public final class A {
|
||||
public static final A.Companion Companion;
|
||||
|
||||
public A() { /* compiled code */ }
|
||||
|
||||
@kotlin.jvm.JvmStatic
|
||||
public static final void f() { /* compiled code */ }
|
||||
|
||||
public static final class B {
|
||||
public static final A.B INSTANCE;
|
||||
|
||||
@kotlin.jvm.JvmStatic
|
||||
public static final void g() { /* compiled code */ }
|
||||
|
||||
private B() { /* compiled code */ }
|
||||
}
|
||||
|
||||
public static final class Companion {
|
||||
@kotlin.jvm.JvmStatic
|
||||
public final void f() { /* compiled code */ }
|
||||
|
||||
private Companion() { /* compiled code */ }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user