9cc8f44390
Ignore evaluation tests for floorDiv and mod with FIR for now.
8 lines
265 B
Kotlin
Vendored
8 lines
265 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_VARIABLE, -UNUSED_PARAMETER
|
|
|
|
fun Int.mod(other: Int) = 10
|
|
fun Int.floorDiv(other: Int): Int = 20
|
|
|
|
const val a1 = <!CONST_VAL_WITH_NON_CONST_INITIALIZER!>(-5).mod(2)<!>
|
|
const val b1 = <!CONST_VAL_WITH_NON_CONST_INITIALIZER!>5.floorDiv(3)<!>
|