WASM: Enable exception handling tests
This commit is contained in:
committed by
TeamCityServer
parent
ef2970a888
commit
00f61978b8
@@ -1,5 +1,4 @@
|
||||
// DONT_TARGET_EXACT_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED
|
||||
|
||||
fun isZero(x: Int) = when(x) {
|
||||
0 -> true
|
||||
else -> throw Exception()
|
||||
|
||||
Reference in New Issue
Block a user