summaryrefslogtreecommitdiff
path: root/test/interp/callindirect.txt
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2016-09-26 17:03:05 -0700
committerBen Smith <binji@chromium.org>2016-09-29 11:37:27 -0700
commit1133575d48958ef6cd483e7ecef0ed1001d3ae57 (patch)
tree3189025965fec901ffb4ee4ae44c17fac8c51e63 /test/interp/callindirect.txt
parentc92a909563d12f81d382df8428d5e4e0e2ee91fc (diff)
downloadwabt-1133575d48958ef6cd483e7ecef0ed1001d3ae57.tar.gz
wabt-1133575d48958ef6cd483e7ecef0ed1001d3ae57.tar.bz2
wabt-1133575d48958ef6cd483e7ecef0ed1001d3ae57.zip
fix most of the interp tests
Still need to do imports
Diffstat (limited to 'test/interp/callindirect.txt')
-rw-r--r--test/interp/callindirect.txt18
1 files changed, 6 insertions, 12 deletions
diff --git a/test/interp/callindirect.txt b/test/interp/callindirect.txt
index 00800e54..61204d40 100644
--- a/test/interp/callindirect.txt
+++ b/test/interp/callindirect.txt
@@ -16,28 +16,22 @@
(table anyfunc (elem $zero $one $add $sub))
- (export "test_zero" $test_zero)
- (func $test_zero (result i32)
+ (func (export "test_zero") (result i32)
(call $nullary (i32.const 0)))
- (export "test_one" $test_one)
- (func $test_one (result i32)
+ (func (export "test_one") (result i32)
(call $nullary (i32.const 1)))
- (export "test_add" $test_add)
- (func $test_add (result i32)
+ (func (export "test_add") (result i32)
(call $binary (i32.const 10) (i32.const 4) (i32.const 2)))
- (export "test_sub" $test_sub)
- (func $test_sub (result i32)
+ (func (export "test_sub") (result i32)
(call $binary (i32.const 10) (i32.const 4) (i32.const 3)))
- (export "trap_oob" $trap_oob)
- (func $trap_oob (result i32)
+ (func (export "trap_oob") (result i32)
(call $binary (i32.const 10) (i32.const 4) (i32.const 4)))
- (export "trap_sig_mismatch" $trap_sig_mismatch)
- (func $trap_sig_mismatch (result i32)
+ (func (export "trap_sig_mismatch") (result i32)
(call $binary (i32.const 10) (i32.const 4) (i32.const 0))))
(;; STDOUT ;;;
test_zero() => i32:0