Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
a6417fc509e4365c1ed6addd914701510995cdb2
/
.
/
compiler
/
testData
/
codegen
/
box
/
dataClasses
/
unitComponent.kt
blob: b70b461ab919ed6041dc9e04b56b4a9451ed1357 [
file
] [
log
] [
blame
]
data
class
A
(
val x
:
Unit
)
fun box
():
String
{
val a
=
A
(
Unit
)
return
if
(
a
.
component1
()
is
Unit
)
"OK"
else
"Fail ${a.component1()}"
}