Files
kotlin-fork/compiler/testData/codegen/box/localClasses/kt3389.kt
T
2018-06-28 12:26:41 +02:00

15 lines
250 B
Kotlin
Vendored

// IGNORE_BACKEND: 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()
}