Files
kotlin/compiler/testData/codegen/boxWithStdlib/annotations/resolveWithLowPriorityAnnotation.kt
2015-10-16 21:58:46 +03:00

7 lines
189 B
Kotlin
Vendored

@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
@kotlin.internal.LowPriorityInOverloadResolution
fun foo(i: Int) = 1
fun foo(a: Any) = 2
fun box() = if (foo(1) == 2) "OK" else "fail"