11 lines
139 B
Plaintext
11 lines
139 B
Plaintext
// OPTION: 1
|
|
fun foo(n: Int): Int {
|
|
return try {
|
|
n / 0
|
|
} <caret>catch (e: Exception) {
|
|
-2
|
|
} finally {
|
|
|
|
}
|
|
}
|