Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b32f408767cf86efaa65eb02699fe00bd61d99a6
/
.
/
compiler
/
testData
/
codegen
/
box
/
inlineClasses
/
anySuperCall.kt
blob: b73c1fbc818849ae4737e78f113c1b349c0a5a8f [
file
]
// WITH_STDLIB
// IGNORE_BACKEND: JVM
// WORKS_WHEN_VALUE_CLASS
// LANGUAGE: +ValueClasses
OPTIONAL_JVM_INLINE_ANNOTATION
value
class
A
(
val x
:
Int
)
{
fun f
():
Int
=
super
.
hashCode
()
}
fun box
():
String
{
val a
=
A
(
1
).
f
()
return
"OK"
}