diff options
Diffstat (limited to 'test/lit')
-rw-r--r-- | test/lit/wat-kitchen-sink.wast | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/test/lit/wat-kitchen-sink.wast b/test/lit/wat-kitchen-sink.wast index 98795e5ee..4368a1cb2 100644 --- a/test/lit/wat-kitchen-sink.wast +++ b/test/lit/wat-kitchen-sink.wast @@ -354,9 +354,7 @@ ;; CHECK: (tag $tag-pair (param i32 i64)) (tag $tag-pair (param i32 i64)) - ;; functions - (func) - + ;; explicit exports ;; CHECK: (export "g1" (global $g1)) ;; CHECK: (export "g1.1" (global $g1)) @@ -377,6 +375,20 @@ ;; CHECK: (export "t0.1" (tag $imported)) + ;; CHECK: (export "exported-func" (func $fimport$0)) + (export "exported-func" (func 0)) + ;; CHECK: (export "exported-table" (table $timport$0)) + (export "exported-table" (table 0)) + ;; CHECK: (export "exported-memory" (memory $mimport$0)) + (export "exported-memory" (memory 0)) + ;; CHECK: (export "exported-global" (global $g1)) + (export "exported-global" (global 0)) + ;; CHECK: (export "exported-tag" (tag $imported)) + (export "exported-tag" (tag 0)) + + ;; functions + (func) + ;; CHECK: (func $1 (type $void) ;; CHECK-NEXT: (nop) ;; CHECK-NEXT: ) |