summaryrefslogtreecommitdiff
path: root/test/binaryen.js/exception-handling.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/binaryen.js/exception-handling.js')
-rw-r--r--test/binaryen.js/exception-handling.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/binaryen.js/exception-handling.js b/test/binaryen.js/exception-handling.js
index 6a1b32ed7..5ee53667c 100644
--- a/test/binaryen.js/exception-handling.js
+++ b/test/binaryen.js/exception-handling.js
@@ -18,7 +18,8 @@ function stringify(expr) {
function test() {
var module = new Binaryen.Module();
- module.setFeatures(Binaryen.Features.ExceptionHandling);
+ module.setFeatures(Binaryen.Features.ReferenceTypes |
+ Binaryen.Features.ExceptionHandling);
var event_ = module.addEvent("e", 0, Binaryen.i32, Binaryen.none);