Files
kotlin/compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError/valWithNoNameBeforeNextDeclarationWithModifiers.kt
2016-07-08 16:06:47 +03:00

16 lines
294 B
Kotlin
Vendored

abstract class A {
private val<!SYNTAX!><!>
// private is parsed as val's identifier
private fun foo1() {
}
private val<!SYNTAX!><!>
protected abstract fun foo2()
private val<!SYNTAX!><!>
fun foo3() {
}
private val private<!SYNTAX!><!> fun foo() {}
}