Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
annotations
/
MutuallyRecursivelyAnnotatedGlobalFunction.kt
blob: 0d6908a2d27fe7507b76ab6dbbc879dd819758cd [
file
]
// FIR_IDENTICAL
// 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