diff options
Diffstat (limited to 'test/parse')
-rw-r--r-- | test/parse/expr/atomic-align.txt | 2 | ||||
-rw-r--r-- | test/parse/expr/atomic.txt | 2 | ||||
-rw-r--r-- | test/parse/expr/bad-atomic-unnatural-align.txt | 2 | ||||
-rw-r--r-- | test/parse/module/bad-import-table-shared.txt | 4 | ||||
-rw-r--r-- | test/parse/module/bad-memory-shared-nomax.txt | 4 | ||||
-rw-r--r-- | test/parse/module/import-memory-shared.txt | 2 | ||||
-rw-r--r-- | test/parse/module/memory-shared.txt | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/test/parse/expr/atomic-align.txt b/test/parse/expr/atomic-align.txt index 10dfb8d6..65ab99ab 100644 --- a/test/parse/expr/atomic-align.txt +++ b/test/parse/expr/atomic-align.txt @@ -1,6 +1,6 @@ ;;; FLAGS: --enable-threads (module - (memory (shared 1 1)) + (memory 1 1 shared) (func i32.const 0 i32.const 0 wake align=4 drop i32.const 0 i32.const 0 i64.const 0 i32.wait align=4 drop diff --git a/test/parse/expr/atomic.txt b/test/parse/expr/atomic.txt index 78bac9f4..bf683a1c 100644 --- a/test/parse/expr/atomic.txt +++ b/test/parse/expr/atomic.txt @@ -1,6 +1,6 @@ ;;; FLAGS: --enable-threads (module - (memory (shared 1 1)) + (memory 1 1 shared) (func i32.const 0 i32.const 0 wake drop i32.const 0 i32.const 0 i64.const 0 i32.wait drop diff --git a/test/parse/expr/bad-atomic-unnatural-align.txt b/test/parse/expr/bad-atomic-unnatural-align.txt index 2a29dc65..e00ba1fa 100644 --- a/test/parse/expr/bad-atomic-unnatural-align.txt +++ b/test/parse/expr/bad-atomic-unnatural-align.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 ;;; FLAGS: --enable-threads (module - (memory (shared 1 1)) + (memory 1 1 shared) (func i32.const 0 i32.const 0 wake align=8 drop i32.const 0 i32.const 0 i64.const 0 i32.wait align=8 drop 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)) |