Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
boxInline
/
enum
/
valueOfNonReified.kt
blob: 761813faec257d569e7ef2445abd1b09fb410286 [
file
]
// FILE: 1.kt
// WITH_RUNTIME
package
test
inline
fun myValueOf
():
String
{
return
enumValueOf
<
Z
>(
"OK"
).
name
}
enum
class
Z
{
OK
}
// FILE: 2.kt
import
test
.*
fun box
():
String
{
return
myValueOf
()
}