Files
kotlin-fork/compiler/testData/diagnostics/tests/operatorsOverloading/until/simple.kt
T
Alexander Udalov 686cd82327 Serialize OptIn to builtins, improve tests
Skip SOURCE-retention annotations in builtins serialization tests,
because otherwise the source analysis result can't be equal to the
metadata deserialization result.

 #KT-53073 Fixed
2022-09-09 21:31:39 +02:00

9 lines
128 B
Kotlin
Vendored

// FIR_IDENTICAL
// !LANGUAGE: +RangeUntilOperator
fun main(n: Int) {
for (i in 0<!OPT_IN_USAGE_ERROR!>..<<!>n) {
}
}