Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/annotations/annotationApplicability/illegalPlatformName.kt
T
Denis Zharkov 849b8acbf8 Replace annotations with brackets in testData
Just in tests that changed after deprecation
2015-05-07 22:36:16 +03:00

14 lines
315 B
Kotlin
Vendored

// !DIAGNOSTICS: -UNUSED_PARAMETER
import kotlin.platform.*
<!ILLEGAL_PLATFORM_NAME!>@platformName("")<!>
fun foo(a: Any) {}
<!ILLEGAL_PLATFORM_NAME!>@platformName(".")<!>
fun foo() {}
<!ILLEGAL_PLATFORM_NAME!>@platformName("/")<!>
fun fooSlash() {}
<!ILLEGAL_PLATFORM_NAME!>@platformName("<")<!>
fun fooLT() {}