summaryrefslogtreecommitdiff
path: root/test/example
diff options
context:
space:
mode:
Diffstat (limited to 'test/example')
-rw-r--r--test/example/c-api-kitchen-sink.txt14
-rw-r--r--test/example/c-api-kitchen-sink.txt.txt6
-rw-r--r--test/example/relooper-fuzz.txt4
-rw-r--r--test/example/relooper-fuzz1.txt4
4 files changed, 14 insertions, 14 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index a49a8abcc..d272301a9 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -14,7 +14,7 @@ BinaryenFloat64: 4
(type $fiF (func (param i32 f64) (result f32)))
(type $v (func))
(type $3 (func))
- (import $an-imported "module" "base" (param i32 f64) (result f32))
+ (import "module" "base" (func $an-imported (param i32 f64) (result f32)))
(export "kitchen_sinker" "$kitchen()sinker")
(export "mem" memory)
(table 1 1 anyfunc)
@@ -536,7 +536,7 @@ raw:
(type $v (func))
(type $vi (func (param i32)))
(type $i (func (result i32)))
- (import $check "module" "check" (param i32))
+ (import "module" "check" (func $check (param i32)))
(func $just-one-block (type $v)
(local $0 i32)
(call_import $check
@@ -1023,7 +1023,7 @@ optimized:
(type $v (func))
(type $vi (func (param i32)))
(type $i (func (result i32)))
- (import $check "module" "check" (param i32))
+ (import "module" "check" (func $check (param i32)))
(func $just-one-block (type $v)
(call_import $check
(i32.const 1337)
@@ -1244,7 +1244,7 @@ module loaded from binary form:
(start $starter)
(type $vi (func (param i32)))
(type $v (func))
- (import $print-i32 "spectest" "print" (param i32))
+ (import "spectest" "print" (func $print-i32 (param i32)))
(func $starter (type $v)
(call_import $print-i32
(i32.const 1234)
@@ -1605,7 +1605,7 @@ int main() {
(type $fiF (func (param i32 f64) (result f32)))
(type $v (func))
(type $3 (func))
- (import $an-imported "module" "base" (param i32 f64) (result f32))
+ (import "module" "base" (func $an-imported (param i32 f64) (result f32)))
(export "kitchen_sinker" "$kitchen()sinker")
(export "mem" memory)
(table 1 1 anyfunc)
@@ -2587,7 +2587,7 @@ raw:
(type $v (func))
(type $vi (func (param i32)))
(type $i (func (result i32)))
- (import $check "module" "check" (param i32))
+ (import "module" "check" (func $check (param i32)))
(func $just-one-block (type $v)
(local $0 i32)
(call_import $check
@@ -3078,7 +3078,7 @@ optimized:
(type $v (func))
(type $vi (func (param i32)))
(type $i (func (result i32)))
- (import $check "module" "check" (param i32))
+ (import "module" "check" (func $check (param i32)))
(func $just-one-block (type $v)
(call_import $check
(i32.const 1337)
diff --git a/test/example/c-api-kitchen-sink.txt.txt b/test/example/c-api-kitchen-sink.txt.txt
index cf9177060..5acac8e51 100644
--- a/test/example/c-api-kitchen-sink.txt.txt
+++ b/test/example/c-api-kitchen-sink.txt.txt
@@ -9,7 +9,7 @@
(type $fiF (func (param i32 f64) (result f32)))
(type $v (func))
(type $3 (func))
- (import $an-imported "module" "base" (param i32 f64) (result f32))
+ (import "module" "base" (func $an-imported (param i32 f64) (result f32)))
(export "kitchen_sinker" "$kitchen()sinker")
(export "mem" memory)
(table 1 1 anyfunc)
@@ -530,7 +530,7 @@
(type $v (func))
(type $vi (func (param i32)))
(type $i (func (result i32)))
- (import $check "module" "check" (param i32))
+ (import "module" "check" (func $check (param i32)))
(func $just-one-block (type $v)
(local $0 i32)
(call_import $check
@@ -1016,7 +1016,7 @@
(type $v (func))
(type $vi (func (param i32)))
(type $i (func (result i32)))
- (import $check "module" "check" (param i32))
+ (import "module" "check" (func $check (param i32)))
(func $just-one-block (type $v)
(call_import $check
(i32.const 1337)
diff --git a/test/example/relooper-fuzz.txt b/test/example/relooper-fuzz.txt
index 730106cf9..09b6ef8cb 100644
--- a/test/example/relooper-fuzz.txt
+++ b/test/example/relooper-fuzz.txt
@@ -4,7 +4,7 @@
(type $i (func (result i32)))
(type $v (func))
(type $vi (func (param i32)))
- (import $print "spectest" "print" (param i32))
+ (import "spectest" "print" (func $print (param i32)))
(export "mem" memory)
(func $check (type $i) (result i32)
(if
@@ -297,7 +297,7 @@
(type $i (func (result i32)))
(type $v (func))
(type $vi (func (param i32)))
- (import $print "spectest" "print" (param i32))
+ (import "spectest" "print" (func $print (param i32)))
(export "mem" memory)
(func $check (type $i) (result i32)
(if
diff --git a/test/example/relooper-fuzz1.txt b/test/example/relooper-fuzz1.txt
index f219e9f96..9fbaae5f0 100644
--- a/test/example/relooper-fuzz1.txt
+++ b/test/example/relooper-fuzz1.txt
@@ -4,7 +4,7 @@
(type $i (func (result i32)))
(type $v (func))
(type $vi (func (param i32)))
- (import $print "spectest" "print" (param i32))
+ (import "spectest" "print" (func $print (param i32)))
(export "mem" memory)
(func $check (type $i) (result i32)
(if
@@ -273,7 +273,7 @@
(type $i (func (result i32)))
(type $v (func))
(type $vi (func (param i32)))
- (import $print "spectest" "print" (param i32))
+ (import "spectest" "print" (func $print (param i32)))
(export "mem" memory)
(func $check (type $i) (result i32)
(if