Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
eeaff786f0d0a86b7b827da0028bbafe287d3c04
/
.
/
compiler
/
testData
/
codegen
/
box
/
inlineClass
/
nestedInlineClasses.kt
blob: 545a0e9c71ce47b57d652c43c165b98ac563bc44 [
file
]
// WITH_STDLIB
import
kotlin
.
test
.*
interface
I
{
inline
class
IC
(
val x
:
Int
)
}
interface
I2
{
inline
class
IC
(
val x
:
Int
)
}
fun box
():
String
{
assertEquals
(
42
,
I
.
IC
(
42
).
x
)
assertEquals
(
117
,
I2
.
IC
(
117
).
x
)
return
"OK"
}