Files
2022-07-20 10:12:24 +00:00

15 lines
358 B
Kotlin
Vendored

// CORRECT_ERROR_TYPES
// JAVAC_OPTION -Xmaxerrs=1
@file:Suppress("UNRESOLVED_REFERENCE")
import kotlin.reflect.KClass
class Test {
fun a(a: ABC, b: BCD) {}
}
// There are two errors (unresolved identifier ABC, BCD) actually.
// But we specified the max error count, so the error output is limited.
// EXPECTED_ERROR: (kotlin:7:5) cannot find symbol