mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-02 04:35:22 +07:00
11 lines
128 B
Kotlin
11 lines
128 B
Kotlin
// OPTION: 0
|
|
fun foo(n : Int): Int {
|
|
<caret>try {
|
|
n/0
|
|
} catch (e: Exception) {
|
|
-1
|
|
}
|
|
|
|
return 0
|
|
}
|