LV 2.0: update some CLI tests with warnings to use DIVISION_BY_ZERO warning

This commit is contained in:
Mikhail Glukhikh
2023-09-15 16:53:04 +02:00
committed by Space Team
parent e5906a8a3a
commit e4b70e7788
10 changed files with 22 additions and 41 deletions
@@ -1,5 +1,5 @@
package kotlin
fun main() {
val x = 1?.dec()
fun foo(arg: Int) {
val x = arg / 0
}
@@ -1 +1,4 @@
compiler/testData/cli/jvm/readingConfigFromEnvironment/appendingArgs.kt:4:13: warning: [DIVISION_BY_ZERO] Division by zero.
val x = arg / 0
^
OK