Files
kotlin-fork/compiler/testData/diagnostics/tests/declarationChecks/nameWithDangerousCharacters.kt
T
Alexander Udalov ba948cda38 Report warning on characters which can cause problems on Windows
As soon as we fix KT-17438, this warning will be turned into an error.
2020-07-02 21:19:28 +02:00

13 lines
352 B
Kotlin
Vendored

class <!DANGEROUS_CHARACTERS!>`A?B`<!>
class <!DANGEROUS_CHARACTERS!>`A*B`<!>
class <!DANGEROUS_CHARACTERS!>`A"B`<!>
class <!DANGEROUS_CHARACTERS!>`A|B`<!>
class <!DANGEROUS_CHARACTERS!>`A%B`<!>
fun <!DANGEROUS_CHARACTERS!>`?*"|%`<!>(): Int {
val <!DANGEROUS_CHARACTERS!>`?`<!> = 0
return `?`
}
val <!DANGEROUS_CHARACTERS!>`"a"+"b"`<!> = "c"