summaryrefslogtreecommitdiff
path: root/test/lit/passes/jspi-table.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/passes/jspi-table.wast')
-rw-r--r--test/lit/passes/jspi-table.wast3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lit/passes/jspi-table.wast b/test/lit/passes/jspi-table.wast
index 526b0a4b7..c702357c0 100644
--- a/test/lit/passes/jspi-table.wast
+++ b/test/lit/passes/jspi-table.wast
@@ -12,10 +12,11 @@
;; CHECK: (table $0 1 1 funcref)
(table $0 1 1 funcref)
(elem (i32.const 1) func $update_state)
+ (export "update_state" (func $update_state))
+
;; CHECK: (elem $0 (i32.const 1) $export$update_state)
;; CHECK: (export "update_state" (func $export$update_state))
- (export "update_state" (func $update_state))
;; CHECK: (func $update_state (type $0) (param $param f64) (result i32)
;; CHECK-NEXT: (i32.const 42)