diff options
Diffstat (limited to 'test/spec/exception-handling-old.wast')
-rw-r--r-- | test/spec/exception-handling-old.wast | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/spec/exception-handling-old.wast b/test/spec/exception-handling-old.wast index 48fbe8389..75bfe70e8 100644 --- a/test/spec/exception-handling-old.wast +++ b/test/spec/exception-handling-old.wast @@ -605,8 +605,12 @@ (throw $e-i32 (if (result i32) (i32.const 0) - (pop i32) ;; pop is within an if true body - (i32.const 3) + (then + (pop i32) ;; pop is within an if true body + ) + (else + (i32.const 3) + ) ) ) ) |