Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
4f8dad3e4ba00e23b4182ef4c50194b20bd43c8f
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
annotations
/
MutuallyRecursivelyAnnotatedGlobalFunction.kt
blob: 552ec93b99e3d94eb67bf630f90b77687dc8cfa4 [
file
]
// Functions can be recursively annotated
annotation
class
ann
(
val x
:
Int
)
@ann
(<!
ANNOTATION_ARGUMENT_MUST_BE_CONST
!>
bar
()<!>)
fun foo
()
=
1
@ann
(<!
ANNOTATION_ARGUMENT_MUST_BE_CONST
!>
foo
()<!>)
fun bar
()
=
2