b44dc55109
There was a refactoring of AbstractDiagnosticsTest in 9052ef06 which
contains bug that `setupEnvironment` for AbstractDiagnosticsTestUsingJavac
was not called, so for last year tests `UsingJavac` had no difference
with usual diagnostics tests which causes some contradictions in test data
39 lines
816 B
Kotlin
Vendored
39 lines
816 B
Kotlin
Vendored
// !SKIP_JAVAC
|
|
// !LANGUAGE: +InlineClasses
|
|
|
|
package kotlin.jvm
|
|
|
|
annotation class JvmInline
|
|
|
|
@JvmInline
|
|
value class Test1(val x: Test1)
|
|
|
|
@JvmInline
|
|
value class Test2A(val x: Test2B)
|
|
@JvmInline
|
|
value class Test2B(val x: Test2A)
|
|
|
|
@JvmInline
|
|
value class Test3A(val x: Test3B)
|
|
@JvmInline
|
|
value class Test3B(val x: Test3C)
|
|
@JvmInline
|
|
value class Test3C(val x: Test3A)
|
|
|
|
@JvmInline
|
|
value class TestNullable(val x: TestNullable?)
|
|
|
|
@JvmInline
|
|
value class TestRecursionInTypeArguments(val x: List<TestRecursionInTypeArguments>)
|
|
|
|
@JvmInline
|
|
value class TestRecursionInArray(val x: Array<TestRecursionInArray>)
|
|
|
|
@JvmInline
|
|
value class TestRecursionInUpperBounds<T : TestRecursionInUpperBounds<T>>(val x: T)
|
|
|
|
@JvmInline
|
|
value class Id<T>(val x: T)
|
|
@JvmInline
|
|
value class TestRecursionThroughId(val x: Id<TestRecursionThroughId>)
|