Files
kotlin-fork/compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/fileAnnotationWithoutColon_after.fir.kt
T

11 lines
302 B
Kotlin
Vendored

// !LANGUAGE: +RestrictionOfWrongAnnotationsWithUseSiteTargetsOnTypes
// !DIAGNOSTICS: -UNUSED_PARAMETER
fun test1(@file<!SYNTAX!><!> Suppress("") x: Int) {}
@file <!SYNTAX!>@<!>Suppress("")
fun test2() {}
class OnType(x: @file<!SYNTAX!><!> Suppress("") Int)
fun @file : Suppress("") Int.test3() {}