WASM: Enable exception handling tests
This commit is contained in:
committed by
TeamCityServer
parent
ef2970a888
commit
00f61978b8
@@ -1,9 +1,10 @@
|
||||
// DONT_TARGET_EXACT_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS
|
||||
// IGNORE_BACKEND: WASM
|
||||
// reason - no error from division by zero in JS
|
||||
// in wasm we just trap
|
||||
// WASM_MUTE_REASON: IGNORED_IN_JS
|
||||
|
||||
fun expectArithmeticException(f: () -> Unit): Boolean {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user