Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
3d3ef80feae9fc7b6e2dfea89a0d542393872d1a
/
.
/
compiler
/
testData
/
codegen
/
script
/
kt22029.kts
blob: b808360e539a3738dc6298c9790d2e47d30455a9 [
file
]
data
class
Pair
(
val first
:
Int
,
val second
:
Int
)
inline
fun
<
T
>
run
(
fn
:
()
->
T
)
=
fn
()
val fstSec
=
42
val
(
fst
,
snd
)
=
run
{
Pair
(
fstSec
,
fstSec
)
}
// expected: fst: 42