Light class tests: add tests

- test Jvm* annotations with wrong arguments
  - test JvmStatic annotation
  - test JvmName annotation
This commit is contained in:
Pavel V. Talanov
2017-02-13 19:11:27 +03:00
parent dbcd141a46
commit 955fe9e1e6
9 changed files with 172 additions and 0 deletions
+24
View File
@@ -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 */ }
}
}