diff options
Diffstat (limited to 'test/example')
-rw-r--r-- | test/example/c-api-kitchen-sink.txt | 4 | ||||
-rw-r--r-- | test/example/c-api-kitchen-sink.txt.txt | 2 | ||||
-rw-r--r-- | test/example/relooper-fuzz.txt | 4 | ||||
-rw-r--r-- | test/example/relooper-fuzz1.txt | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt index 61b29a2eb..a49a8abcc 100644 --- a/test/example/c-api-kitchen-sink.txt +++ b/test/example/c-api-kitchen-sink.txt @@ -9,7 +9,6 @@ BinaryenFloat64: 4 (module (memory 1 256) (data (i32.const 10) "hello, world") - (export "mem" memory) (start $starter) (type $iiIfF (func (param i32 i64 f32 f64) (result i32))) (type $fiF (func (param i32 f64) (result f32))) @@ -17,6 +16,7 @@ BinaryenFloat64: 4 (type $3 (func)) (import $an-imported "module" "base" (param i32 f64) (result f32)) (export "kitchen_sinker" "$kitchen()sinker") + (export "mem" memory) (table 1 1 anyfunc) (elem (i32.const 0) "$kitchen()sinker") (func "$kitchen()sinker" (type $iiIfF) (param $0 i32) (param $1 i64) (param $2 f32) (param $3 f64) (result i32) @@ -1600,7 +1600,6 @@ int main() { (module (memory 1 256) (data (i32.const 10) "hello, world") - (export "mem" memory) (start $starter) (type $iiIfF (func (param i32 i64 f32 f64) (result i32))) (type $fiF (func (param i32 f64) (result f32))) @@ -1608,6 +1607,7 @@ int main() { (type $3 (func)) (import $an-imported "module" "base" (param i32 f64) (result f32)) (export "kitchen_sinker" "$kitchen()sinker") + (export "mem" memory) (table 1 1 anyfunc) (elem (i32.const 0) "$kitchen()sinker") (func "$kitchen()sinker" (type $iiIfF) (param $0 i32) (param $1 i64) (param $2 f32) (param $3 f64) (result i32) diff --git a/test/example/c-api-kitchen-sink.txt.txt b/test/example/c-api-kitchen-sink.txt.txt index a572b8de8..cf9177060 100644 --- a/test/example/c-api-kitchen-sink.txt.txt +++ b/test/example/c-api-kitchen-sink.txt.txt @@ -4,7 +4,6 @@ (module (memory 1 256) (data (i32.const 10) "hello, world") - (export "mem" memory) (start $starter) (type $iiIfF (func (param i32 i64 f32 f64) (result i32))) (type $fiF (func (param i32 f64) (result f32))) @@ -12,6 +11,7 @@ (type $3 (func)) (import $an-imported "module" "base" (param i32 f64) (result f32)) (export "kitchen_sinker" "$kitchen()sinker") + (export "mem" memory) (table 1 1 anyfunc) (elem (i32.const 0) "$kitchen()sinker") (func "$kitchen()sinker" (type $iiIfF) (param $0 i32) (param $1 i64) (param $2 f32) (param $3 f64) (result i32) diff --git a/test/example/relooper-fuzz.txt b/test/example/relooper-fuzz.txt index 2836a05de..730106cf9 100644 --- a/test/example/relooper-fuzz.txt +++ b/test/example/relooper-fuzz.txt @@ -1,11 +1,11 @@ (module (memory 1 1) - (export "mem" memory) (start $main) (type $i (func (result i32))) (type $v (func)) (type $vi (func (param i32))) (import $print "spectest" "print" (param i32)) + (export "mem" memory) (func $check (type $i) (result i32) (if (i32.eq @@ -293,12 +293,12 @@ ) (module (memory 1 1) - (export "mem" memory) (start $main) (type $i (func (result i32))) (type $v (func)) (type $vi (func (param i32))) (import $print "spectest" "print" (param i32)) + (export "mem" memory) (func $check (type $i) (result i32) (if (i32.eq diff --git a/test/example/relooper-fuzz1.txt b/test/example/relooper-fuzz1.txt index 32456c82a..f219e9f96 100644 --- a/test/example/relooper-fuzz1.txt +++ b/test/example/relooper-fuzz1.txt @@ -1,11 +1,11 @@ (module (memory 1 1) - (export "mem" memory) (start $main) (type $i (func (result i32))) (type $v (func)) (type $vi (func (param i32))) (import $print "spectest" "print" (param i32)) + (export "mem" memory) (func $check (type $i) (result i32) (if (i32.eq @@ -269,12 +269,12 @@ ) (module (memory 1 1) - (export "mem" memory) (start $main) (type $i (func (result i32))) (type $v (func)) (type $vi (func (param i32))) (import $print "spectest" "print" (param i32)) + (export "mem" memory) (func $check (type $i) (result i32) (if (i32.eq |