Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
534b00eff856e0e4dcaf105df9a043d9b1263ff7
/
.
/
compiler
/
testData
/
codegen
/
box
/
function
/
defaults9.kt
blob: 14f22871955a104c61634c051fb87844943bdb74 [
file
]
// WITH_STDLIB
import
kotlin
.
test
.*
class
Foo
{
inner
class
Bar
(
x
:
Int
,
val y
:
Int
=
1
)
{
constructor
()
:
this
(
42
)
}
}
fun box
():
String
{
assertEquals
(
1
,
Foo
().
Bar
().
y
)
return
"OK"
}