mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
19 lines
303 B
Kotlin
Vendored
19 lines
303 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
@file:JvmName("TestKt")
|
|
package test
|
|
|
|
import kotlinx.android.parcel.*
|
|
import android.os.Parcel
|
|
import android.os.Parcelable
|
|
|
|
@Parcelize
|
|
open class Base(val a: String) : Parcelable
|
|
|
|
@Parcelize
|
|
class Inh(var b: Int) : Base(""), Parcelable
|
|
|
|
fun box(): String {
|
|
Inh(0)
|
|
return "OK"
|
|
} |