Reuse JVM box tests for binary operations in JS, excluding those that can't pass now.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// reason - no ArithmeticException in JS
|
||||
fun box(): String {
|
||||
val a1 = 0
|
||||
val a2 = try { 1 / 0 } catch(e: ArithmeticException) { 0 }
|
||||
|
||||
Reference in New Issue
Block a user