summaryrefslogtreecommitdiff
path: root/test/lit/passes
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/passes')
-rw-r--r--test/lit/passes/extract-function.wast2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lit/passes/extract-function.wast b/test/lit/passes/extract-function.wast
index 606fd326c..f53dda982 100644
--- a/test/lit/passes/extract-function.wast
+++ b/test/lit/passes/extract-function.wast
@@ -68,7 +68,9 @@
;; CHECK: (elem $0 (i32.const 0) $other)
(elem $0 (table $t) (i32.const 0) func $other)
+ ;; Test that an existing export does not cause us to crash.
;; CHECK: (export "foo" (func $foo))
+ (export "foo" (func $foo))
;; CHECK: (func $foo
;; CHECK-NEXT: (call_indirect (type $none)