WASM: Enable exception handling tests
This commit is contained in:
committed by
TeamCityServer
parent
ef2970a888
commit
00f61978b8
+1
-2
@@ -1,5 +1,4 @@
|
||||
// DONT_TARGET_EXACT_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED
|
||||
|
||||
fun idiv(a: Int, b: Int): Int =
|
||||
if (b == 0) throw Exception("Division by zero") else a / b
|
||||
|
||||
|
||||
Reference in New Issue
Block a user