Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
dataClasses
/
mixedParams.kt
blob: 90637df9768a2a13bc7468fbe3b15ac01cfc52d2 [
file
] [
log
] [
blame
]
data
class
A
(
var
x
:
Int
,
val z
:
Int
)
fun box
():
String
{
val a
=
A
(
1
,
3
)
if
(
a
.
component1
()
!=
1
)
return
"Fail: ${a.component1()}"
if
(
a
.
component2
()
!=
3
)
return
"Fail: ${a.component2()}"
return
"OK"
}