Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
073a50037049a4e0869085bf4acf7c29e56210e3
/
.
/
compiler
/
testData
/
codegen
/
box
/
inlineClasses
/
stringPlus.kt
blob: 37fd5117c83ae169eed93fb065975cea0818bee1 [
file
] [
log
] [
blame
]
// !LANGUAGE: +InlineClasses
fun
<
T
>
foo
(
a
:
IC
):
T
=
a
.
value
as
T
inline
class
IC
(
val value
:
String
)
fun box
():
String
{
return
foo
<
String
>(
IC
(
"O"
))
+
"K"
}