summaryrefslogtreecommitdiff
path: root/test/parse/module
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/module')
-rw-r--r--test/parse/module/bad-import-table-shared.txt4
-rw-r--r--test/parse/module/bad-memory-shared-nomax.txt4
-rw-r--r--test/parse/module/import-memory-shared.txt2
-rw-r--r--test/parse/module/memory-shared.txt2
4 files changed, 6 insertions, 6 deletions
diff --git a/test/parse/module/bad-import-table-shared.txt b/test/parse/module/bad-import-table-shared.txt
index 0210ff1f..c3a940cc 100644
--- a/test/parse/module/bad-import-table-shared.txt
+++ b/test/parse/module/bad-import-table-shared.txt
@@ -1,9 +1,9 @@
;;; ERROR: 1
(module
- (import "foo" "bar" (table (shared 0 3) anyfunc))
+ (import "foo" "bar" (table 0 3 shared anyfunc))
)
(;; STDERR ;;;
out/test/parse/module/bad-import-table-shared.txt:3:4: error: tables may not be shared
- (import "foo" "bar" (table (shared 0 3) anyfunc))
+ (import "foo" "bar" (table 0 3 shared anyfunc))
^^^^^^
;;; STDERR ;;)
diff --git a/test/parse/module/bad-memory-shared-nomax.txt b/test/parse/module/bad-memory-shared-nomax.txt
index 759b91bf..1aab110a 100644
--- a/test/parse/module/bad-memory-shared-nomax.txt
+++ b/test/parse/module/bad-memory-shared-nomax.txt
@@ -1,8 +1,8 @@
;;; ERROR: 1
-(module (memory (shared 1)))
+(module (memory 1 shared))
(;; STDERR ;;;
out/test/parse/module/bad-memory-shared-nomax.txt:2:10: error: shared memories must have max sizes
-(module (memory (shared 1)))
+(module (memory 1 shared))
^^^^^^
;;; STDERR ;;)
diff --git a/test/parse/module/import-memory-shared.txt b/test/parse/module/import-memory-shared.txt
index ec7fdb82..f6242898 100644
--- a/test/parse/module/import-memory-shared.txt
+++ b/test/parse/module/import-memory-shared.txt
@@ -1,2 +1,2 @@
(module
- (import "foo" "2" (memory (shared 0 2))))
+ (import "foo" "2" (memory 0 2 shared)))
diff --git a/test/parse/module/memory-shared.txt b/test/parse/module/memory-shared.txt
index 40ef71c5..66f6e659 100644
--- a/test/parse/module/memory-shared.txt
+++ b/test/parse/module/memory-shared.txt
@@ -1 +1 @@
-(module (memory (shared 1 1)))
+(module (memory 1 1 shared))