Files
kotlin-fork/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedGlobalFunction.kt
T
2015-09-08 12:11:30 +03:00

3 lines
141 B
Kotlin
Vendored

// Functions can be recursively annotated
annotation class ann(val x: Int)
@ann(<!ANNOTATION_PARAMETER_MUST_BE_CONST!>foo()<!>) fun foo() = 1