Files
kotlin-fork/compiler/testData/codegen/box/localClasses/kt3389.kt
T
2019-11-19 11:00:09 +03:00

15 lines
254 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
package t
class Reproduce {
fun test(): String {
data class Foo(val bar: String, val baz: Int)
val foo = Foo("OK", 5)
return foo.bar
}
}
fun box() : String {
return Reproduce().test()
}