Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
annotations
/
nestedClassesInAnnotations.kt
blob: 0f7b8ec89ea881ea4563271ad2e65afdc943f2d3 [
file
]
// !LANGUAGE: +NestedClassesInAnnotations
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: NATIVE
annotation
class
Foo
(
val kind
:
Kind
)
{
enum
class
Kind
{
FAIL
,
OK
}
}
@Foo
(
Foo
.
Kind
.
OK
)
fun box
():
String
{
return
Foo
.
Kind
.
OK
.
name
}