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
19 lines
252 B
Kotlin
Vendored
19 lines
252 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !SKIP_JAVAC
|
|
// FIR_IDENTICAL
|
|
// !LANGUAGE: +InlineClasses
|
|
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
|
|
|
package kotlin.jvm
|
|
|
|
annotation class JvmInline
|
|
|
|
@JvmInline
|
|
value class Foo(val x: Int) {
|
|
init {}
|
|
|
|
init {
|
|
val f = 1
|
|
}
|
|
}
|