summaryrefslogtreecommitdiff
path: root/test/expr
diff options
context:
space:
mode:
Diffstat (limited to 'test/expr')
-rw-r--r--test/expr/bad-binary-empty.txt5
-rw-r--r--test/expr/bad-binary-one-expr.txt5
-rw-r--r--test/expr/bad-break-bad-depth.txt9
-rw-r--r--test/expr/bad-break-defined-later.txt7
-rw-r--r--test/expr/bad-break-name-undefined.txt5
-rw-r--r--test/expr/bad-break-name.txt5
-rw-r--r--test/expr/bad-break-no-label.txt5
-rw-r--r--test/expr/bad-break-undefined.txt5
-rw-r--r--test/expr/bad-call-too-few.txt7
-rw-r--r--test/expr/bad-call-too-many.txt7
-rw-r--r--test/expr/bad-callimport-too-few.txt8
-rw-r--r--test/expr/bad-callimport-too-many.txt8
-rw-r--r--test/expr/bad-callindirect-empty.txt8
-rw-r--r--test/expr/bad-callindirect-too-few.txt8
-rw-r--r--test/expr/bad-callindirect-too-many.txt8
-rw-r--r--test/expr/bad-compare-empty.txt5
-rw-r--r--test/expr/bad-compare-one-expr.txt5
-rw-r--r--test/expr/bad-const-f32-trailing.txt6
-rw-r--r--test/expr/bad-const-i32-garbage.txt6
-rw-r--r--test/expr/bad-const-i32-just-negative-sign.txt7
-rw-r--r--test/expr/bad-const-i32-overflow.txt5
-rw-r--r--test/expr/bad-const-i32-trailing.txt6
-rw-r--r--test/expr/bad-const-i32-underflow.txt5
-rw-r--r--test/expr/bad-const-i64-overflow.txt5
-rw-r--r--test/expr/bad-convert-empty.txt5
-rw-r--r--test/expr/bad-convert-float-sign.txt6
-rw-r--r--test/expr/bad-convert-int-no-sign.txt6
-rw-r--r--test/expr/bad-convert-too-many.txt5
-rw-r--r--test/expr/bad-getlocal-empty.txt5
-rw-r--r--test/expr/bad-getlocal-name-undefined.txt5
-rw-r--r--test/expr/bad-getlocal-name.txt6
-rw-r--r--test/expr/bad-getlocal-too-many.txt6
-rw-r--r--test/expr/bad-getlocal-undefined.txt5
-rw-r--r--test/expr/bad-if-no-then.txt5
-rw-r--r--test/expr/bad-if-too-many.txt5
-rw-r--r--test/expr/bad-label-name-empty.txt5
-rw-r--r--test/expr/bad-label-name.txt5
-rw-r--r--test/expr/bad-label.txt5
-rw-r--r--test/expr/bad-load-align-misspelled.txt7
-rw-r--r--test/expr/bad-load-align-negative.txt5
-rw-r--r--test/expr/bad-load-align-not-pot.txt5
-rw-r--r--test/expr/bad-load-align.txt5
-rw-r--r--test/expr/bad-load-float-sign.txt6
-rw-r--r--test/expr/bad-load-offset-negative.txt5
-rw-r--r--test/expr/bad-load-type.txt6
-rw-r--r--test/expr/bad-loadglobal-empty.txt6
-rw-r--r--test/expr/bad-loadglobal-name-undefined.txt5
-rw-r--r--test/expr/bad-loadglobal-name.txt7
-rw-r--r--test/expr/bad-loadglobal-too-many.txt6
-rw-r--r--test/expr/bad-loadglobal-undefined.txt5
-rw-r--r--test/expr/bad-nop.txt5
-rw-r--r--test/expr/bad-return-multi.txt6
-rw-r--r--test/expr/bad-return-too-few.txt7
-rw-r--r--test/expr/bad-return-too-many.txt7
-rw-r--r--test/expr/bad-setlocal-name-undefined.txt5
-rw-r--r--test/expr/bad-setlocal-name.txt8
-rw-r--r--test/expr/bad-setlocal-no-value.txt7
-rw-r--r--test/expr/bad-setlocal-too-many.txt7
-rw-r--r--test/expr/bad-setlocal-undefined.txt5
-rw-r--r--test/expr/bad-store-align-not-pot.txt5
-rw-r--r--test/expr/bad-store-align.txt5
-rw-r--r--test/expr/bad-store-float.sign.txt6
-rw-r--r--test/expr/bad-store-offset-negative.txt5
-rw-r--r--test/expr/bad-store-type.txt6
-rw-r--r--test/expr/bad-storeglobal-empty.txt6
-rw-r--r--test/expr/bad-storeglobal-name-undefined.txt5
-rw-r--r--test/expr/bad-storeglobal-name.txt7
-rw-r--r--test/expr/bad-storeglobal-too-many.txt6
-rw-r--r--test/expr/bad-storeglobal-undefined.txt5
-rw-r--r--test/expr/bad-tableswitch-invalid-case.txt10
-rw-r--r--test/expr/bad-tableswitch-invalid-default-case.txt9
-rw-r--r--test/expr/bad-unary-empty.txt5
-rw-r--r--test/expr/bad-unary-too-many.txt5
-rw-r--r--test/expr/bad-unexpected.txt5
-rw-r--r--test/expr/binary.txt42
-rw-r--r--test/expr/block-named.txt5
-rw-r--r--test/expr/block-return.txt5
-rw-r--r--test/expr/block.txt1
-rw-r--r--test/expr/br.txt4
-rw-r--r--test/expr/break-block.txt6
-rw-r--r--test/expr/break-loop.txt7
-rw-r--r--test/expr/break-named.txt3
-rw-r--r--test/expr/break.txt3
-rw-r--r--test/expr/brif-named.txt4
-rw-r--r--test/expr/brif.txt4
-rw-r--r--test/expr/call-defined-later.txt5
-rw-r--r--test/expr/call-empty.txt1
-rw-r--r--test/expr/call-name-prefix.txt5
-rw-r--r--test/expr/call-named.txt3
-rw-r--r--test/expr/call.txt2
-rw-r--r--test/expr/callimport-defined-later.txt4
-rw-r--r--test/expr/callimport-named.txt4
-rw-r--r--test/expr/callimport-type.txt5
-rw-r--r--test/expr/callimport.txt4
-rw-r--r--test/expr/callindirect-named.txt3
-rw-r--r--test/expr/callindirect.txt3
-rw-r--r--test/expr/cast.txt7
-rw-r--r--test/expr/compare.txt34
-rw-r--r--test/expr/const.txt43
-rw-r--r--test/expr/convert.txt23
-rw-r--r--test/expr/expr-break.txt6
-rw-r--r--test/expr/getlocal-index-after-param.txt1
-rw-r--r--test/expr/getlocal-index-mixed-named-unnamed.txt11
-rw-r--r--test/expr/getlocal-named.txt1
-rw-r--r--test/expr/getlocal-param-named.txt1
-rw-r--r--test/expr/getlocal-param.txt1
-rw-r--r--test/expr/getlocal.txt1
-rw-r--r--test/expr/if-return.txt5
-rw-r--r--test/expr/if-then-else.txt1
-rw-r--r--test/expr/if.txt1
-rw-r--r--test/expr/label-name.txt1
-rw-r--r--test/expr/label.txt2
-rw-r--r--test/expr/load-aligned.txt16
-rw-r--r--test/expr/load-offset.txt31
-rw-r--r--test/expr/load.txt16
-rw-r--r--test/expr/loadglobal-name.txt2
-rw-r--r--test/expr/loadglobal.txt2
-rw-r--r--test/expr/loop-empty.txt1
-rw-r--r--test/expr/loop-named.txt5
-rw-r--r--test/expr/loop.txt3
-rw-r--r--test/expr/memory-size.txt3
-rw-r--r--test/expr/nop.txt1
-rw-r--r--test/expr/resize-memory.txt3
-rw-r--r--test/expr/return-block.txt6
-rw-r--r--test/expr/return-empty.txt2
-rw-r--r--test/expr/return-if.txt6
-rw-r--r--test/expr/return-void.txt1
-rw-r--r--test/expr/return.txt3
-rw-r--r--test/expr/select.txt6
-rw-r--r--test/expr/setlocal-index-after-param.txt1
-rw-r--r--test/expr/setlocal-index-mixed-named-unnamed.txt11
-rw-r--r--test/expr/setlocal-named.txt3
-rw-r--r--test/expr/setlocal-param-named.txt1
-rw-r--r--test/expr/setlocal-param.txt1
-rw-r--r--test/expr/setlocal.txt2
-rw-r--r--test/expr/store-aligned.txt11
-rw-r--r--test/expr/store-offset.txt22
-rw-r--r--test/expr/store.txt11
-rw-r--r--test/expr/storeglobal-name.txt2
-rw-r--r--test/expr/storeglobal.txt2
-rw-r--r--test/expr/tableswitch-default-br.txt6
-rw-r--r--test/expr/tableswitch-empty-case.txt7
-rw-r--r--test/expr/tableswitch-empty.txt5
-rw-r--r--test/expr/tableswitch-multi.txt9
-rw-r--r--test/expr/tableswitch-named.txt6
-rw-r--r--test/expr/tableswitch-table-br.txt6
-rw-r--r--test/expr/tableswitch-unreferenced.txt7
-rw-r--r--test/expr/tableswitch.txt6
-rw-r--r--test/expr/unary.txt23
-rw-r--r--test/expr/unreachable.txt1
150 files changed, 0 insertions, 951 deletions
diff --git a/test/expr/bad-binary-empty.txt b/test/expr/bad-binary-empty.txt
deleted file mode 100644
index 65a98436..00000000
--- a/test/expr/bad-binary-empty.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.add)))
-(;; STDERR ;;;
-expr/bad-binary-empty.txt:2:23: syntax error, unexpected ), expecting (
-;;; STDERR ;;)
diff --git a/test/expr/bad-binary-one-expr.txt b/test/expr/bad-binary-one-expr.txt
deleted file mode 100644
index 7f3714fa..00000000
--- a/test/expr/bad-binary-one-expr.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.add (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-binary-one-expr.txt:2:37: syntax error, unexpected ), expecting (
-;;; STDERR ;;)
diff --git a/test/expr/bad-break-bad-depth.txt b/test/expr/bad-break-bad-depth.txt
deleted file mode 100644
index 5b81c5dc..00000000
--- a/test/expr/bad-break-bad-depth.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-;;; ERROR: 1
-(module
- (func
- (label ;; 1
- (label ;; 0
- (break 2)))))
-(;; STDERR ;;;
-expr/bad-break-bad-depth.txt:6:16: label variable out of range (max 2)
-;;; STDERR ;;)
diff --git a/test/expr/bad-break-defined-later.txt b/test/expr/bad-break-defined-later.txt
deleted file mode 100644
index ce8fcdaa..00000000
--- a/test/expr/bad-break-defined-later.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-;;; ERROR: 1
-(module (func
- (break 0)
- (label (nop))))
-(;; STDERR ;;;
-expr/bad-break-defined-later.txt:3:10: label variable out of range (max 0)
-;;; STDERR ;;)
diff --git a/test/expr/bad-break-name-undefined.txt b/test/expr/bad-break-name-undefined.txt
deleted file mode 100644
index 3287b5ff..00000000
--- a/test/expr/bad-break-name-undefined.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (break $n)))
-(;; STDERR ;;;
-expr/bad-break-name-undefined.txt:2:22: undefined label variable "$n"
-;;; STDERR ;;)
diff --git a/test/expr/bad-break-name.txt b/test/expr/bad-break-name.txt
deleted file mode 100644
index e30551dc..00000000
--- a/test/expr/bad-break-name.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (label $foo (break foo))))
-(;; STDERR ;;;
-expr/bad-break-name.txt:2:34: unexpected token "foo"
-;;; STDERR ;;)
diff --git a/test/expr/bad-break-no-label.txt b/test/expr/bad-break-no-label.txt
deleted file mode 100644
index 9fddba02..00000000
--- a/test/expr/bad-break-no-label.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (break)))
-(;; STDERR ;;;
-expr/bad-break-no-label.txt:2:16: label variable out of range (max 0)
-;;; STDERR ;;)
diff --git a/test/expr/bad-break-undefined.txt b/test/expr/bad-break-undefined.txt
deleted file mode 100644
index 253c1519..00000000
--- a/test/expr/bad-break-undefined.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (break 0)))
-(;; STDERR ;;;
-expr/bad-break-undefined.txt:2:22: label variable out of range (max 0)
-;;; STDERR ;;)
diff --git a/test/expr/bad-call-too-few.txt b/test/expr/bad-call-too-few.txt
deleted file mode 100644
index 504cdee4..00000000
--- a/test/expr/bad-call-too-few.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-;;; ERROR: 1
-(module
- (func (param i32) (param f32)
- (call 0 (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-call-too-few.txt:4:5: too few parameters to function. got 1, expected 2
-;;; STDERR ;;)
diff --git a/test/expr/bad-call-too-many.txt b/test/expr/bad-call-too-many.txt
deleted file mode 100644
index 41db5ec5..00000000
--- a/test/expr/bad-call-too-many.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-;;; ERROR: 1
-(module
- (func (param i32 i64)
- (call 0 (i32.const 0) (i64.const 0) (f32.const 0))))
-(;; STDERR ;;;
-expr/bad-call-too-many.txt:4:5: too many parameters to function. got 3, expected 2
-;;; STDERR ;;)
diff --git a/test/expr/bad-callimport-too-few.txt b/test/expr/bad-callimport-too-few.txt
deleted file mode 100644
index 2e2ef51e..00000000
--- a/test/expr/bad-callimport-too-few.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-;;; ERROR: 1
-(module
- (import "foo" "bar" (param i32 i32))
- (func
- (call_import 0 (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-callimport-too-few.txt:5:5: too few parameters to function. got 1, expected 2
-;;; STDERR ;;)
diff --git a/test/expr/bad-callimport-too-many.txt b/test/expr/bad-callimport-too-many.txt
deleted file mode 100644
index 91179977..00000000
--- a/test/expr/bad-callimport-too-many.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-;;; ERROR: 1
-(module
- (import "foo" "bar" (param i32 i32))
- (func
- (call_import 0 (i32.const 0) (i32.const 1) (i32.const 2))))
-(;; STDERR ;;;
-expr/bad-callimport-too-many.txt:5:5: too many parameters to function. got 3, expected 2
-;;; STDERR ;;)
diff --git a/test/expr/bad-callindirect-empty.txt b/test/expr/bad-callindirect-empty.txt
deleted file mode 100644
index 8914f3c4..00000000
--- a/test/expr/bad-callindirect-empty.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-;;; ERROR: 1
-(module
- (type $t (func (param i32 i32)))
- (func
- (call_indirect $t)))
-(;; STDERR ;;;
-expr/bad-callindirect-empty.txt:5:22: syntax error, unexpected ), expecting (
-;;; STDERR ;;)
diff --git a/test/expr/bad-callindirect-too-few.txt b/test/expr/bad-callindirect-too-few.txt
deleted file mode 100644
index fe952a6c..00000000
--- a/test/expr/bad-callindirect-too-few.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-;;; ERROR: 1
-(module
- (type $t (func (param i32 i32)))
- (func
- (call_indirect $t (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-callindirect-too-few.txt:5:5: too few parameters to function. got 0, expected 2
-;;; STDERR ;;)
diff --git a/test/expr/bad-callindirect-too-many.txt b/test/expr/bad-callindirect-too-many.txt
deleted file mode 100644
index 32ecf996..00000000
--- a/test/expr/bad-callindirect-too-many.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-;;; ERROR: 1
-(module
- (type $t (func (param i32 i32)))
- (func
- (call_indirect $t (i32.const 0) (i32.const 1) (i32.const 2) (i32.const 3))))
-(;; STDERR ;;;
-expr/bad-callindirect-too-many.txt:5:5: too many parameters to function. got 3, expected 2
-;;; STDERR ;;)
diff --git a/test/expr/bad-compare-empty.txt b/test/expr/bad-compare-empty.txt
deleted file mode 100644
index b126e462..00000000
--- a/test/expr/bad-compare-empty.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.eq)))
-(;; STDERR ;;;
-expr/bad-compare-empty.txt:2:22: syntax error, unexpected ), expecting (
-;;; STDERR ;;)
diff --git a/test/expr/bad-compare-one-expr.txt b/test/expr/bad-compare-one-expr.txt
deleted file mode 100644
index d68e3c04..00000000
--- a/test/expr/bad-compare-one-expr.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.lt_s (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-compare-one-expr.txt:2:38: syntax error, unexpected ), expecting (
-;;; STDERR ;;)
diff --git a/test/expr/bad-const-f32-trailing.txt b/test/expr/bad-const-f32-trailing.txt
deleted file mode 100644
index c393ccc9..00000000
--- a/test/expr/bad-const-f32-trailing.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (func (f32.const 1234.5678foo)))
-(;; STDERR ;;;
-expr/bad-const-f32-trailing.txt:2:26: unexpected token "1234.5678foo"
-expr/bad-const-f32-trailing.txt:2:38: syntax error, unexpected ), expecting INT or FLOAT
-;;; STDERR ;;)
diff --git a/test/expr/bad-const-i32-garbage.txt b/test/expr/bad-const-i32-garbage.txt
deleted file mode 100644
index 92b20673..00000000
--- a/test/expr/bad-const-i32-garbage.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.const one-hundred)))
-(;; STDERR ;;;
-expr/bad-const-i32-garbage.txt:2:26: unexpected token "one-hundred"
-expr/bad-const-i32-garbage.txt:2:37: syntax error, unexpected ), expecting INT or FLOAT
-;;; STDERR ;;)
diff --git a/test/expr/bad-const-i32-just-negative-sign.txt b/test/expr/bad-const-i32-just-negative-sign.txt
deleted file mode 100644
index b6196ab1..00000000
--- a/test/expr/bad-const-i32-just-negative-sign.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-;;; ERROR: 1
-(module
- (func (i32.const -)))
-(;; STDERR ;;;
-expr/bad-const-i32-just-negative-sign.txt:3:20: unexpected token "-"
-expr/bad-const-i32-just-negative-sign.txt:3:21: syntax error, unexpected ), expecting INT or FLOAT
-;;; STDERR ;;)
diff --git a/test/expr/bad-const-i32-overflow.txt b/test/expr/bad-const-i32-overflow.txt
deleted file mode 100644
index 283895ed..00000000
--- a/test/expr/bad-const-i32-overflow.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.const 4294967296)))
-(;; STDERR ;;;
-expr/bad-const-i32-overflow.txt:2:26: invalid literal "4294967296"
-;;; STDERR ;;)
diff --git a/test/expr/bad-const-i32-trailing.txt b/test/expr/bad-const-i32-trailing.txt
deleted file mode 100644
index dca49dae..00000000
--- a/test/expr/bad-const-i32-trailing.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.const 100x)))
-(;; STDERR ;;;
-expr/bad-const-i32-trailing.txt:2:26: unexpected token "100x"
-expr/bad-const-i32-trailing.txt:2:30: syntax error, unexpected ), expecting INT or FLOAT
-;;; STDERR ;;)
diff --git a/test/expr/bad-const-i32-underflow.txt b/test/expr/bad-const-i32-underflow.txt
deleted file mode 100644
index a7f20bda..00000000
--- a/test/expr/bad-const-i32-underflow.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.const -2147483649)))
-(;; STDERR ;;;
-expr/bad-const-i32-underflow.txt:2:26: invalid literal "-2147483649"
-;;; STDERR ;;)
diff --git a/test/expr/bad-const-i64-overflow.txt b/test/expr/bad-const-i64-overflow.txt
deleted file mode 100644
index ce647172..00000000
--- a/test/expr/bad-const-i64-overflow.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i64.const 18446744073709551616)))
-(;; STDERR ;;;
-expr/bad-const-i64-overflow.txt:2:26: invalid literal "18446744073709551616"
-;;; STDERR ;;)
diff --git a/test/expr/bad-convert-empty.txt b/test/expr/bad-convert-empty.txt
deleted file mode 100644
index 066c65bc..00000000
--- a/test/expr/bad-convert-empty.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (f32.convert_s/i32)))
-(;; STDERR ;;;
-expr/bad-convert-empty.txt:2:33: syntax error, unexpected ), expecting (
-;;; STDERR ;;)
diff --git a/test/expr/bad-convert-float-sign.txt b/test/expr/bad-convert-float-sign.txt
deleted file mode 100644
index 8afb81a2..00000000
--- a/test/expr/bad-convert-float-sign.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (func (f32.converts.f64 (f32.const 0))))
-(;; STDERR ;;;
-expr/bad-convert-float-sign.txt:2:16: unexpected token "f32.converts.f64"
-expr/bad-convert-float-sign.txt:2:33: syntax error, unexpected (
-;;; STDERR ;;)
diff --git a/test/expr/bad-convert-int-no-sign.txt b/test/expr/bad-convert-int-no-sign.txt
deleted file mode 100644
index 9c8a04eb..00000000
--- a/test/expr/bad-convert-int-no-sign.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.convert.i32 (i32.const))))
-(;; STDERR ;;;
-expr/bad-convert-int-no-sign.txt:2:16: unexpected token "i32.convert.i32"
-expr/bad-convert-int-no-sign.txt:2:32: syntax error, unexpected (
-;;; STDERR ;;)
diff --git a/test/expr/bad-convert-too-many.txt b/test/expr/bad-convert-too-many.txt
deleted file mode 100644
index 50c47252..00000000
--- a/test/expr/bad-convert-too-many.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.trunc_s/f32 (f32.const 0) (nop))))
-(;; STDERR ;;;
-expr/bad-convert-too-many.txt:2:46: syntax error, unexpected (, expecting )
-;;; STDERR ;;)
diff --git a/test/expr/bad-getlocal-empty.txt b/test/expr/bad-getlocal-empty.txt
deleted file mode 100644
index 5a095240..00000000
--- a/test/expr/bad-getlocal-empty.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (local i32) (get_local)))
-(;; STDERR ;;;
-expr/bad-getlocal-empty.txt:2:37: syntax error, unexpected ), expecting INT or VAR
-;;; STDERR ;;)
diff --git a/test/expr/bad-getlocal-name-undefined.txt b/test/expr/bad-getlocal-name-undefined.txt
deleted file mode 100644
index a5994aa9..00000000
--- a/test/expr/bad-getlocal-name-undefined.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (get_local $n)))
-(;; STDERR ;;;
-expr/bad-getlocal-name-undefined.txt:2:26: undefined local variable "$n"
-;;; STDERR ;;)
diff --git a/test/expr/bad-getlocal-name.txt b/test/expr/bad-getlocal-name.txt
deleted file mode 100644
index 4cfebf2b..00000000
--- a/test/expr/bad-getlocal-name.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (func (local $f f32) (get_local f)))
-(;; STDERR ;;;
-expr/bad-getlocal-name.txt:2:41: unexpected token "f"
-expr/bad-getlocal-name.txt:2:42: syntax error, unexpected ), expecting INT or VAR
-;;; STDERR ;;)
diff --git a/test/expr/bad-getlocal-too-many.txt b/test/expr/bad-getlocal-too-many.txt
deleted file mode 100644
index 105ef065..00000000
--- a/test/expr/bad-getlocal-too-many.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (func (local $foo f64)
- (get_local $foo (nop))))
-(;; STDERR ;;;
-expr/bad-getlocal-too-many.txt:3:19: syntax error, unexpected (, expecting )
-;;; STDERR ;;)
diff --git a/test/expr/bad-getlocal-undefined.txt b/test/expr/bad-getlocal-undefined.txt
deleted file mode 100644
index 13244138..00000000
--- a/test/expr/bad-getlocal-undefined.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (get_local 0)))
-(;; STDERR ;;;
-expr/bad-getlocal-undefined.txt:2:26: local variable out of range (max 0)
-;;; STDERR ;;)
diff --git a/test/expr/bad-if-no-then.txt b/test/expr/bad-if-no-then.txt
deleted file mode 100644
index adbb277b..00000000
--- a/test/expr/bad-if-no-then.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (if (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-if-no-then.txt:2:32: syntax error, unexpected ), expecting (
-;;; STDERR ;;)
diff --git a/test/expr/bad-if-too-many.txt b/test/expr/bad-if-too-many.txt
deleted file mode 100644
index cd9ce131..00000000
--- a/test/expr/bad-if-too-many.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (if_else (i32.const 0) (nop) (nop) (nop))))
-(;; STDERR ;;;
-expr/bad-if-too-many.txt:2:50: syntax error, unexpected (, expecting )
-;;; STDERR ;;)
diff --git a/test/expr/bad-label-name-empty.txt b/test/expr/bad-label-name-empty.txt
deleted file mode 100644
index a7501938..00000000
--- a/test/expr/bad-label-name-empty.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (label $foo)))
-(;; STDERR ;;;
-expr/bad-label-name-empty.txt:2:26: syntax error, unexpected ), expecting (
-;;; STDERR ;;)
diff --git a/test/expr/bad-label-name.txt b/test/expr/bad-label-name.txt
deleted file mode 100644
index 8453df1a..00000000
--- a/test/expr/bad-label-name.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (label foo (nop))))
-(;; STDERR ;;;
-expr/bad-label-name.txt:2:22: unexpected token "foo"
-;;; STDERR ;;)
diff --git a/test/expr/bad-label.txt b/test/expr/bad-label.txt
deleted file mode 100644
index 34ffd474..00000000
--- a/test/expr/bad-label.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (label)))
-(;; STDERR ;;;
-expr/bad-label.txt:2:21: syntax error, unexpected ), expecting (
-;;; STDERR ;;)
diff --git a/test/expr/bad-load-align-misspelled.txt b/test/expr/bad-load-align-misspelled.txt
deleted file mode 100644
index 0dc18704..00000000
--- a/test/expr/bad-load-align-misspelled.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-;;; ERROR: 1
-(module
- (func
- (i32.load aline=64 (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-load-align-misspelled.txt:4:15: unexpected token "aline=64"
-;;; STDERR ;;)
diff --git a/test/expr/bad-load-align-negative.txt b/test/expr/bad-load-align-negative.txt
deleted file mode 100644
index 9da86277..00000000
--- a/test/expr/bad-load-align-negative.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.load8_s align=-1 (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-load-align-negative.txt:2:28: unexpected token "align=-1"
-;;; STDERR ;;)
diff --git a/test/expr/bad-load-align-not-pot.txt b/test/expr/bad-load-align-not-pot.txt
deleted file mode 100644
index 1af417cb..00000000
--- a/test/expr/bad-load-align-not-pot.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.load align=3 (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-load-align-not-pot.txt:2:25: alignment must be power-of-two
-;;; STDERR ;;)
diff --git a/test/expr/bad-load-align.txt b/test/expr/bad-load-align.txt
deleted file mode 100644
index d4da9b76..00000000
--- a/test/expr/bad-load-align.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.load align=foo (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-load-align.txt:2:25: unexpected token "align=foo"
-;;; STDERR ;;)
diff --git a/test/expr/bad-load-float-sign.txt b/test/expr/bad-load-float-sign.txt
deleted file mode 100644
index d70e1d0a..00000000
--- a/test/expr/bad-load-float-sign.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (func (f32.loads (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-load-float-sign.txt:2:16: unexpected token "f32.loads"
-expr/bad-load-float-sign.txt:2:26: syntax error, unexpected (
-;;; STDERR ;;)
diff --git a/test/expr/bad-load-offset-negative.txt b/test/expr/bad-load-offset-negative.txt
deleted file mode 100644
index 62c1a9be..00000000
--- a/test/expr/bad-load-offset-negative.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.load8_s offset=-1 (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-load-offset-negative.txt:2:28: unexpected token "offset=-1"
-;;; STDERR ;;)
diff --git a/test/expr/bad-load-type.txt b/test/expr/bad-load-type.txt
deleted file mode 100644
index a142e359..00000000
--- a/test/expr/bad-load-type.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (func (load.x32 (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-load-type.txt:2:16: unexpected token "load.x32"
-expr/bad-load-type.txt:2:25: syntax error, unexpected (
-;;; STDERR ;;)
diff --git a/test/expr/bad-loadglobal-empty.txt b/test/expr/bad-loadglobal-empty.txt
deleted file mode 100644
index 45229f19..00000000
--- a/test/expr/bad-loadglobal-empty.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (global $n i32)
- (func (load_global)))
-(;; STDERR ;;;
-expr/bad-loadglobal-empty.txt:3:21: syntax error, unexpected ), expecting INT or VAR
-;;; STDERR ;;)
diff --git a/test/expr/bad-loadglobal-name-undefined.txt b/test/expr/bad-loadglobal-name-undefined.txt
deleted file mode 100644
index 0e49554b..00000000
--- a/test/expr/bad-loadglobal-name-undefined.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (load_global $n)))
-(;; STDERR ;;;
-expr/bad-loadglobal-name-undefined.txt:2:28: undefined global variable "$n"
-;;; STDERR ;;)
diff --git a/test/expr/bad-loadglobal-name.txt b/test/expr/bad-loadglobal-name.txt
deleted file mode 100644
index 445f36f7..00000000
--- a/test/expr/bad-loadglobal-name.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-;;; ERROR: 1
-(module (global $n f32)
- (func (load_global n)))
-(;; STDERR ;;;
-expr/bad-loadglobal-name.txt:3:22: unexpected token "n"
-expr/bad-loadglobal-name.txt:3:23: syntax error, unexpected ), expecting INT or VAR
-;;; STDERR ;;)
diff --git a/test/expr/bad-loadglobal-too-many.txt b/test/expr/bad-loadglobal-too-many.txt
deleted file mode 100644
index e111441f..00000000
--- a/test/expr/bad-loadglobal-too-many.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (global i32)
- (func (load_global 0 (nop))))
-(;; STDERR ;;;
-expr/bad-loadglobal-too-many.txt:3:24: syntax error, unexpected (, expecting )
-;;; STDERR ;;)
diff --git a/test/expr/bad-loadglobal-undefined.txt b/test/expr/bad-loadglobal-undefined.txt
deleted file mode 100644
index e14a2d91..00000000
--- a/test/expr/bad-loadglobal-undefined.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (load_global 0)))
-(;; STDERR ;;;
-expr/bad-loadglobal-undefined.txt:2:28: global variable out of range (max 0)
-;;; STDERR ;;)
diff --git a/test/expr/bad-nop.txt b/test/expr/bad-nop.txt
deleted file mode 100644
index ee5ffd3e..00000000
--- a/test/expr/bad-nop.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (nop foo)))
-(;; STDERR ;;;
-expr/bad-nop.txt:2:20: unexpected token "foo"
-;;; STDERR ;;)
diff --git a/test/expr/bad-return-multi.txt b/test/expr/bad-return-multi.txt
deleted file mode 100644
index c06b275f..00000000
--- a/test/expr/bad-return-multi.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (func (result f32 f32)
- (return (f32.const 0) (f32.const 3.14))))
-(;; STDERR ;;;
-expr/bad-return-multi.txt:2:27: syntax error, unexpected VALUE_TYPE, expecting )
-;;; STDERR ;;)
diff --git a/test/expr/bad-return-too-few.txt b/test/expr/bad-return-too-few.txt
deleted file mode 100644
index 15057a5a..00000000
--- a/test/expr/bad-return-too-few.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-;;; ERROR: 1
-(module
- (func (result i32)
- (return)))
-(;; STDERR ;;;
-expr/bad-return-too-few.txt:4:5: type mismatch of function result. got void, expected i32
-;;; STDERR ;;)
diff --git a/test/expr/bad-return-too-many.txt b/test/expr/bad-return-too-many.txt
deleted file mode 100644
index 6e93322a..00000000
--- a/test/expr/bad-return-too-many.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-;;; ERROR: 1
-(module
- (func (result i32 i32)
- (return (i32.const 0) (i32.const 0) (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-return-too-many.txt:3:21: syntax error, unexpected VALUE_TYPE, expecting )
-;;; STDERR ;;)
diff --git a/test/expr/bad-setlocal-name-undefined.txt b/test/expr/bad-setlocal-name-undefined.txt
deleted file mode 100644
index 00494778..00000000
--- a/test/expr/bad-setlocal-name-undefined.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (set_local $n (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-setlocal-name-undefined.txt:2:26: undefined local variable "$n"
-;;; STDERR ;;)
diff --git a/test/expr/bad-setlocal-name.txt b/test/expr/bad-setlocal-name.txt
deleted file mode 100644
index 174d6042..00000000
--- a/test/expr/bad-setlocal-name.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-;;; ERROR: 1
-(module (func
- (local $n i32)
- (set_local n (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-setlocal-name.txt:4:14: unexpected token "n"
-expr/bad-setlocal-name.txt:4:16: syntax error, unexpected (, expecting INT or VAR
-;;; STDERR ;;)
diff --git a/test/expr/bad-setlocal-no-value.txt b/test/expr/bad-setlocal-no-value.txt
deleted file mode 100644
index e6d3e41e..00000000
--- a/test/expr/bad-setlocal-no-value.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-;;; ERROR: 1
-(module (func
- (local i32)
- (set_local 0)))
-(;; STDERR ;;;
-expr/bad-setlocal-no-value.txt:4:15: syntax error, unexpected ), expecting (
-;;; STDERR ;;)
diff --git a/test/expr/bad-setlocal-too-many.txt b/test/expr/bad-setlocal-too-many.txt
deleted file mode 100644
index 8e01607f..00000000
--- a/test/expr/bad-setlocal-too-many.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-;;; ERROR: 1
-(module (func
- (local i32 i32)
- (set_local 0 (i32.const 0) (nop))))
-(;; STDERR ;;;
-expr/bad-setlocal-too-many.txt:4:30: syntax error, unexpected (, expecting )
-;;; STDERR ;;)
diff --git a/test/expr/bad-setlocal-undefined.txt b/test/expr/bad-setlocal-undefined.txt
deleted file mode 100644
index 47de8d50..00000000
--- a/test/expr/bad-setlocal-undefined.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (set_local 0 (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-setlocal-undefined.txt:2:26: local variable out of range (max 0)
-;;; STDERR ;;)
diff --git a/test/expr/bad-store-align-not-pot.txt b/test/expr/bad-store-align-not-pot.txt
deleted file mode 100644
index 0819cd20..00000000
--- a/test/expr/bad-store-align-not-pot.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (f32.store align=3 (i32.const 0) (f32.const 0.0))))
-(;; STDERR ;;;
-expr/bad-store-align-not-pot.txt:2:26: alignment must be power-of-two
-;;; STDERR ;;)
diff --git a/test/expr/bad-store-align.txt b/test/expr/bad-store-align.txt
deleted file mode 100644
index c5a08123..00000000
--- a/test/expr/bad-store-align.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.store align=foo (i32.const 0) (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-store-align.txt:2:26: unexpected token "align=foo"
-;;; STDERR ;;)
diff --git a/test/expr/bad-store-float.sign.txt b/test/expr/bad-store-float.sign.txt
deleted file mode 100644
index 6dcbf9c8..00000000
--- a/test/expr/bad-store-float.sign.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (func (f32.storeu (i32.const 0) (f32.const 0))))
-(;; STDERR ;;;
-expr/bad-store-float.sign.txt:2:16: unexpected token "f32.storeu"
-expr/bad-store-float.sign.txt:2:27: syntax error, unexpected (
-;;; STDERR ;;)
diff --git a/test/expr/bad-store-offset-negative.txt b/test/expr/bad-store-offset-negative.txt
deleted file mode 100644
index c175a9d7..00000000
--- a/test/expr/bad-store-offset-negative.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (i32.store8 offset=-1 (i32.const 0) (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-store-offset-negative.txt:2:27: unexpected token "offset=-1"
-;;; STDERR ;;)
diff --git a/test/expr/bad-store-type.txt b/test/expr/bad-store-type.txt
deleted file mode 100644
index c0191428..00000000
--- a/test/expr/bad-store-type.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (func (store.float32 (i32.const 0) (f32.const 0))))
-(;; STDERR ;;;
-expr/bad-store-type.txt:2:16: unexpected token "store.float32"
-expr/bad-store-type.txt:2:30: syntax error, unexpected (
-;;; STDERR ;;)
diff --git a/test/expr/bad-storeglobal-empty.txt b/test/expr/bad-storeglobal-empty.txt
deleted file mode 100644
index 4bfb4b1a..00000000
--- a/test/expr/bad-storeglobal-empty.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (global i32)
- (func (store_global 0)))
-(;; STDERR ;;;
-expr/bad-storeglobal-empty.txt:3:24: syntax error, unexpected ), expecting (
-;;; STDERR ;;)
diff --git a/test/expr/bad-storeglobal-name-undefined.txt b/test/expr/bad-storeglobal-name-undefined.txt
deleted file mode 100644
index a1167bda..00000000
--- a/test/expr/bad-storeglobal-name-undefined.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (store_global $n (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-storeglobal-name-undefined.txt:2:29: undefined global variable "$n"
-;;; STDERR ;;)
diff --git a/test/expr/bad-storeglobal-name.txt b/test/expr/bad-storeglobal-name.txt
deleted file mode 100644
index 5181c990..00000000
--- a/test/expr/bad-storeglobal-name.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-;;; ERROR: 1
-(module (global $n i32)
- (func (store_global n (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-storeglobal-name.txt:3:23: unexpected token "n"
-expr/bad-storeglobal-name.txt:3:25: syntax error, unexpected (, expecting INT or VAR
-;;; STDERR ;;)
diff --git a/test/expr/bad-storeglobal-too-many.txt b/test/expr/bad-storeglobal-too-many.txt
deleted file mode 100644
index 8b5187be..00000000
--- a/test/expr/bad-storeglobal-too-many.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; ERROR: 1
-(module (global i32)
- (func (store_global 0 (i32.const 0) (nop))))
-(;; STDERR ;;;
-expr/bad-storeglobal-too-many.txt:3:39: syntax error, unexpected (, expecting )
-;;; STDERR ;;)
diff --git a/test/expr/bad-storeglobal-undefined.txt b/test/expr/bad-storeglobal-undefined.txt
deleted file mode 100644
index 2f310a15..00000000
--- a/test/expr/bad-storeglobal-undefined.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (store_global 0 (i32.const 0))))
-(;; STDERR ;;;
-expr/bad-storeglobal-undefined.txt:2:29: global variable out of range (max 0)
-;;; STDERR ;;)
diff --git a/test/expr/bad-tableswitch-invalid-case.txt b/test/expr/bad-tableswitch-invalid-case.txt
deleted file mode 100644
index a52d02ec..00000000
--- a/test/expr/bad-tableswitch-invalid-case.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-;;; ERROR: 1
-(module
- (func
- (label
- (tableswitch (i32.const 0)
- (table (case 2)) (br 0)
- (case (nop))))))
-(;; STDERR ;;;
-expr/bad-tableswitch-invalid-case.txt:6:22: case variable out of range (max 1)
-;;; STDERR ;;)
diff --git a/test/expr/bad-tableswitch-invalid-default-case.txt b/test/expr/bad-tableswitch-invalid-default-case.txt
deleted file mode 100644
index cb124dbb..00000000
--- a/test/expr/bad-tableswitch-invalid-default-case.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-;;; ERROR: 1
-(module
- (func
- (tableswitch (i32.const 0)
- (table (case 0)) (case 3)
- (case (nop)))))
-(;; STDERR ;;;
-expr/bad-tableswitch-invalid-default-case.txt:5:30: case variable out of range (max 1)
-;;; STDERR ;;)
diff --git a/test/expr/bad-unary-empty.txt b/test/expr/bad-unary-empty.txt
deleted file mode 100644
index 51e0d27b..00000000
--- a/test/expr/bad-unary-empty.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (f32.neg)))
-(;; STDERR ;;;
-expr/bad-unary-empty.txt:2:23: syntax error, unexpected ), expecting (
-;;; STDERR ;;)
diff --git a/test/expr/bad-unary-too-many.txt b/test/expr/bad-unary-too-many.txt
deleted file mode 100644
index 68222d70..00000000
--- a/test/expr/bad-unary-too-many.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (f32.neg (f32.const 0) (f32.const 0))))
-(;; STDERR ;;;
-expr/bad-unary-too-many.txt:2:38: syntax error, unexpected (, expecting )
-;;; STDERR ;;)
diff --git a/test/expr/bad-unexpected.txt b/test/expr/bad-unexpected.txt
deleted file mode 100644
index b3ee5ae8..00000000
--- a/test/expr/bad-unexpected.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-;;; ERROR: 1
-(module (func (module)))
-(;; STDERR ;;;
-expr/bad-unexpected.txt:2:16: syntax error, unexpected MODULE
-;;; STDERR ;;)
diff --git a/test/expr/binary.txt b/test/expr/binary.txt
deleted file mode 100644
index f4d01090..00000000
--- a/test/expr/binary.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-(module
- (func
- (i32.add (i32.const 0) (i32.const 0))
- (i64.add (i64.const 0) (i64.const 0))
- (f32.add (f32.const 0) (f32.const 0))
- (f64.add (f64.const 0) (f64.const 0))
- (i32.sub (i32.const 0) (i32.const 0))
- (i64.sub (i64.const 0) (i64.const 0))
- (f32.sub (f32.const 0) (f32.const 0))
- (f64.sub (f64.const 0) (f64.const 0))
- (i32.mul (i32.const 0) (i32.const 0))
- (i64.mul (i64.const 0) (i64.const 0))
- (f32.mul (f32.const 0) (f32.const 0))
- (f64.mul (f64.const 0) (f64.const 0))
- (i32.div_s (i32.const 0) (i32.const 0))
- (i64.div_s (i64.const 0) (i64.const 0))
- (i32.div_u (i32.const 0) (i32.const 0))
- (i64.div_u (i64.const 0) (i64.const 0))
- (f32.div (f32.const 0) (f32.const 0))
- (f64.div (f64.const 0) (f64.const 0))
- (i32.rem_s (i32.const 0) (i32.const 0))
- (i64.rem_s (i64.const 0) (i64.const 0))
- (i32.rem_u (i32.const 0) (i32.const 0))
- (i64.rem_u (i64.const 0) (i64.const 0))
- (f32.min (f32.const 0) (f32.const 0))
- (f64.min (f64.const 0) (f64.const 0))
- (f32.max (f32.const 0) (f32.const 0))
- (f64.max (f64.const 0) (f64.const 0))
- (i32.and (i32.const 0) (i32.const 0))
- (i64.and (i64.const 0) (i64.const 0))
- (i32.or (i32.const 0) (i32.const 0))
- (i64.or (i64.const 0) (i64.const 0))
- (i32.xor (i32.const 0) (i32.const 0))
- (i64.xor (i64.const 0) (i64.const 0))
- (i32.shl (i32.const 0) (i32.const 0))
- (i64.shl (i64.const 0) (i64.const 0))
- (i32.shr_u (i32.const 0) (i32.const 0))
- (i64.shr_u (i64.const 0) (i64.const 0))
- (i32.shr_s (i32.const 0) (i32.const 0))
- (i64.shr_s (i64.const 0) (i64.const 0))
- (f32.copysign (f32.const 0) (f32.const 0))
- (f64.copysign (f64.const 0) (f64.const 0))))
diff --git a/test/expr/block-named.txt b/test/expr/block-named.txt
deleted file mode 100644
index 24eefe1a..00000000
--- a/test/expr/block-named.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-(module
- (func
- (block $foo
- (nop)
- (nop))))
diff --git a/test/expr/block-return.txt b/test/expr/block-return.txt
deleted file mode 100644
index fd334522..00000000
--- a/test/expr/block-return.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-(module
- (func (result i32)
- (block
- (nop)
- (return (i32.const 1)))))
diff --git a/test/expr/block.txt b/test/expr/block.txt
deleted file mode 100644
index adacdde2..00000000
--- a/test/expr/block.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (block (nop) (block (nop) (nop)))))
diff --git a/test/expr/br.txt b/test/expr/br.txt
deleted file mode 100644
index 80ca81a9..00000000
--- a/test/expr/br.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-(module
- (func
- (label
- (br 0))))
diff --git a/test/expr/break-block.txt b/test/expr/break-block.txt
deleted file mode 100644
index 40f9892b..00000000
--- a/test/expr/break-block.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-(module
- (func
- (block $exit1
- (break 0))
- (block $exit2
- (break $exit2))))
diff --git a/test/expr/break-loop.txt b/test/expr/break-loop.txt
deleted file mode 100644
index 9bc1fc49..00000000
--- a/test/expr/break-loop.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-(module
- (func
- (loop $exit
- (break $exit))
- (loop $outer $inner
- (break $inner)
- (break $outer))))
diff --git a/test/expr/break-named.txt b/test/expr/break-named.txt
deleted file mode 100644
index 829f0ac2..00000000
--- a/test/expr/break-named.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-(module (func
- (label $foo
- (break $foo))))
diff --git a/test/expr/break.txt b/test/expr/break.txt
deleted file mode 100644
index 0b03258e..00000000
--- a/test/expr/break.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-(module (func
- (label
- (break 0))))
diff --git a/test/expr/brif-named.txt b/test/expr/brif-named.txt
deleted file mode 100644
index 03f75691..00000000
--- a/test/expr/brif-named.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-(module
- (func
- (block $foo
- (br_if $foo (i32.const 1)))))
diff --git a/test/expr/brif.txt b/test/expr/brif.txt
deleted file mode 100644
index 1537232b..00000000
--- a/test/expr/brif.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-(module
- (func
- (label $foo
- (br_if 0 (i32.const 1)))))
diff --git a/test/expr/call-defined-later.txt b/test/expr/call-defined-later.txt
deleted file mode 100644
index 7d2286d7..00000000
--- a/test/expr/call-defined-later.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-(module
- (func $foo
- (call $bar (i32.const 0) (i32.const 1)))
- (func $bar (param i32 i32) (result i32)
- (i32.const 0)))
diff --git a/test/expr/call-empty.txt b/test/expr/call-empty.txt
deleted file mode 100644
index 1f35ac84..00000000
--- a/test/expr/call-empty.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (call 0)))
diff --git a/test/expr/call-name-prefix.txt b/test/expr/call-name-prefix.txt
deleted file mode 100644
index c87a3fcb..00000000
--- a/test/expr/call-name-prefix.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-(module
- (func $foomore
- (call $foo (i32.const 0)))
- (func $foo (param i32)
- (nop)))
diff --git a/test/expr/call-named.txt b/test/expr/call-named.txt
deleted file mode 100644
index b95c276d..00000000
--- a/test/expr/call-named.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-(module
- (func $foo (param f32)
- (call $foo (f32.const 0.0))))
diff --git a/test/expr/call.txt b/test/expr/call.txt
deleted file mode 100644
index 3eea0a25..00000000
--- a/test/expr/call.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-(module (func (param i32)
- (call 0 (i32.const 1))))
diff --git a/test/expr/callimport-defined-later.txt b/test/expr/callimport-defined-later.txt
deleted file mode 100644
index 956a0070..00000000
--- a/test/expr/callimport-defined-later.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-(module
- (func
- (call_import 0 (f32.const 0)))
- (import "foo" "bar" (param f32)))
diff --git a/test/expr/callimport-named.txt b/test/expr/callimport-named.txt
deleted file mode 100644
index 0cd1f02d..00000000
--- a/test/expr/callimport-named.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-(module
- (import $bar "foo" "bar" (param f32))
- (func
- (call_import $bar (f32.const 0))))
diff --git a/test/expr/callimport-type.txt b/test/expr/callimport-type.txt
deleted file mode 100644
index a6fdd420..00000000
--- a/test/expr/callimport-type.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-(module
- (type (func (param i32) (result i32)))
- (import "foo" "bar" (type 0))
- (func (param i32) (result i32)
- (call_import 0 (i32.const 0))))
diff --git a/test/expr/callimport.txt b/test/expr/callimport.txt
deleted file mode 100644
index 854aac81..00000000
--- a/test/expr/callimport.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-(module
- (import "foo" "bar" (param i32) (result i32))
- (func (param i32) (result i32)
- (call_import 0 (i32.const 0))))
diff --git a/test/expr/callindirect-named.txt b/test/expr/callindirect-named.txt
deleted file mode 100644
index b2b62ccc..00000000
--- a/test/expr/callindirect-named.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-(module
- (type $t (func (param i32)))
- (func $g (call_indirect $t (i32.const 0) (i32.const 0))))
diff --git a/test/expr/callindirect.txt b/test/expr/callindirect.txt
deleted file mode 100644
index 04da1800..00000000
--- a/test/expr/callindirect.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-(module
- (type (func (param i32)))
- (func (call_indirect 0 (i32.const 0) (i32.const 0))))
diff --git a/test/expr/cast.txt b/test/expr/cast.txt
deleted file mode 100644
index 5a6a207a..00000000
--- a/test/expr/cast.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-;; int->float reinterpret unsupported currently
-(module
- (func
- (f32.reinterpret/i32 (i32.const 0))
- (i32.reinterpret/f32 (f32.const 0))
- (f64.reinterpret/i64 (i64.const 0))
- (i64.reinterpret/f64 (f64.const 0))))
diff --git a/test/expr/compare.txt b/test/expr/compare.txt
deleted file mode 100644
index 9df5bae3..00000000
--- a/test/expr/compare.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-(module
- (func
- (i32.eq (i32.const 0) (i32.const 0))
- (i64.eq (i64.const 0) (i64.const 0))
- (f32.eq (f32.const 0) (f32.const 0))
- (f64.eq (f64.const 0) (f64.const 0))
- (i32.ne (i32.const 0) (i32.const 0))
- (i64.ne (i64.const 0) (i64.const 0))
- (f32.ne (f32.const 0) (f32.const 0))
- (f64.ne (f64.const 0) (f64.const 0))
- (i32.lt_s (i32.const 0) (i32.const 0))
- (i64.lt_s (i64.const 0) (i64.const 0))
- (i32.lt_u (i32.const 0) (i32.const 0))
- (i64.lt_u (i64.const 0) (i64.const 0))
- (f32.lt (f32.const 0) (f32.const 0))
- (f64.lt (f64.const 0) (f64.const 0))
- (i32.le_s (i32.const 0) (i32.const 0))
- (i64.le_s (i64.const 0) (i64.const 0))
- (i32.le_u (i32.const 0) (i32.const 0))
- (i64.le_u (i64.const 0) (i64.const 0))
- (f32.le (f32.const 0) (f32.const 0))
- (f64.le (f64.const 0) (f64.const 0))
- (i32.gt_s (i32.const 0) (i32.const 0))
- (i64.gt_s (i64.const 0) (i64.const 0))
- (i32.gt_u (i32.const 0) (i32.const 0))
- (i64.gt_u (i64.const 0) (i64.const 0))
- (f32.gt (f32.const 0) (f32.const 0))
- (f64.gt (f64.const 0) (f64.const 0))
- (i32.ge_s (i32.const 0) (i32.const 0))
- (i64.ge_s (i64.const 0) (i64.const 0))
- (i32.ge_u (i32.const 0) (i32.const 0))
- (i64.ge_u (i64.const 0) (i64.const 0))
- (f32.ge (f32.const 0) (f32.const 0))
- (f64.ge (f64.const 0) (f64.const 0))))
diff --git a/test/expr/const.txt b/test/expr/const.txt
deleted file mode 100644
index 16f8bc63..00000000
--- a/test/expr/const.txt
+++ /dev/null
@@ -1,43 +0,0 @@
-(module
- (func
- (i32.const 0)
- (i32.const -2147483648)
- (i32.const 4294967295)
- (i32.const -0x80000000)
- (i32.const 0xffffffff)
-
- (i64.const 0)
- (i64.const -9223372036854775808)
- (i64.const 18446744073709551615)
- (i64.const -0x8000000000000000)
- (i64.const 0xffffffffffffffff)
-
- (f32.const 0.0)
- (f32.const 1e23)
- (f32.const 1.234567e-5)
- (f32.const nan)
- (f32.const -nan)
- (f32.const +nan)
- (f32.const nan:0xabc)
- (f32.const -nan:0xabc)
- (f32.const +nan:0xabc)
- (f32.const infinity)
- (f32.const -infinity)
- (f32.const +infinity)
- (f32.const -0x1p-1)
- (f32.const 0x1.921fb6p+2)
-
- (f64.const 0.0)
- (f64.const -0.987654321)
- (f64.const 6.283185307179586)
- (f64.const nan)
- (f64.const -nan)
- (f64.const +nan)
- (f64.const nan:0xabc)
- (f64.const -nan:0xabc)
- (f64.const +nan:0xabc)
- (f64.const infinity)
- (f64.const -infinity)
- (f64.const +infinity)
- (f64.const -0x1p-1)
- (f64.const 0x1.921fb54442d18p+2)))
diff --git a/test/expr/convert.txt b/test/expr/convert.txt
deleted file mode 100644
index e529ee7c..00000000
--- a/test/expr/convert.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-(module
- (func
- (i32.wrap/i64 (i64.const 0))
- (i64.extend_u/i32 (i32.const 0))
- (i64.extend_s/i32 (i32.const 0))
- (i32.trunc_s/f32 (f32.const 0))
- (i32.trunc_u/f32 (f32.const 0))
- (i32.trunc_s/f64 (f64.const 0))
- (i32.trunc_u/f64 (f64.const 0))
- (i64.trunc_s/f32 (f32.const 0))
- (i64.trunc_u/f32 (f32.const 0))
- (i64.trunc_s/f64 (f64.const 0))
- (i64.trunc_u/f64 (f64.const 0))
- (f32.convert_s/i32 (i32.const 0))
- (f32.convert_u/i32 (i32.const 0))
- (f32.convert_s/i64 (i64.const 0))
- (f32.convert_u/i64 (i64.const 0))
- (f64.convert_s/i32 (i32.const 0))
- (f64.convert_u/i32 (i32.const 0))
- (f64.convert_s/i64 (i64.const 0))
- (f64.convert_u/i64 (i64.const 0))
- (f32.demote/f64 (f64.const 0))
- (f64.promote/f32 (f32.const 0))))
diff --git a/test/expr/expr-break.txt b/test/expr/expr-break.txt
deleted file mode 100644
index fdd18ef0..00000000
--- a/test/expr/expr-break.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-(module
- (func
- (label
- (break (i32.const 0)))
- (label
- (break 0 (i32.const 0)))))
diff --git a/test/expr/getlocal-index-after-param.txt b/test/expr/getlocal-index-after-param.txt
deleted file mode 100644
index 858ab979..00000000
--- a/test/expr/getlocal-index-after-param.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (param i32) (local i32) (get_local 1)))
diff --git a/test/expr/getlocal-index-mixed-named-unnamed.txt b/test/expr/getlocal-index-mixed-named-unnamed.txt
deleted file mode 100644
index da6fd4b4..00000000
--- a/test/expr/getlocal-index-mixed-named-unnamed.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-(module
- (func (param i32) (param $n f32)
- (local i32 i64)
- (local $m f64)
- (get_local 0)
- (get_local 1)
- (get_local $n) ;; 1
- (get_local 2)
- (get_local 3)
- (get_local $m) ;; 4
- (get_local 4)))
diff --git a/test/expr/getlocal-named.txt b/test/expr/getlocal-named.txt
deleted file mode 100644
index f6e7a2a5..00000000
--- a/test/expr/getlocal-named.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (local $foo i32) (get_local $foo)))
diff --git a/test/expr/getlocal-param-named.txt b/test/expr/getlocal-param-named.txt
deleted file mode 100644
index 4cca059e..00000000
--- a/test/expr/getlocal-param-named.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (param $n i32) (get_local $n)))
diff --git a/test/expr/getlocal-param.txt b/test/expr/getlocal-param.txt
deleted file mode 100644
index 9bcd0f68..00000000
--- a/test/expr/getlocal-param.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (param i32) (get_local 0)))
diff --git a/test/expr/getlocal.txt b/test/expr/getlocal.txt
deleted file mode 100644
index 5d6f03d8..00000000
--- a/test/expr/getlocal.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (local i32) (get_local 0)))
diff --git a/test/expr/if-return.txt b/test/expr/if-return.txt
deleted file mode 100644
index a78eda2b..00000000
--- a/test/expr/if-return.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-(module
- (func (result i32)
- (if_else (i32.const 1)
- (return (i32.const 2))
- (return (i32.const 3)))))
diff --git a/test/expr/if-then-else.txt b/test/expr/if-then-else.txt
deleted file mode 100644
index 66e6e36b..00000000
--- a/test/expr/if-then-else.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (if_else (i32.const 0) (nop) (nop))))
diff --git a/test/expr/if.txt b/test/expr/if.txt
deleted file mode 100644
index 6adf02bb..00000000
--- a/test/expr/if.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (if (i32.const 1) (nop))))
diff --git a/test/expr/label-name.txt b/test/expr/label-name.txt
deleted file mode 100644
index 333e5f53..00000000
--- a/test/expr/label-name.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (label $foo (nop))))
diff --git a/test/expr/label.txt b/test/expr/label.txt
deleted file mode 100644
index 283bb2fe..00000000
--- a/test/expr/label.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-(module (func
- (label (nop))))
diff --git a/test/expr/load-aligned.txt b/test/expr/load-aligned.txt
deleted file mode 100644
index f8a2a943..00000000
--- a/test/expr/load-aligned.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-(module
- (func
- (i32.load align=4 (i32.const 0))
- (i64.load align=4 (i32.const 0))
- (i64.load8_s align=8 (i32.const 0))
- (i64.load16_s align=1 (i32.const 0))
- (i64.load32_s align=2 (i32.const 0))
- (i64.load8_u align=4 (i32.const 0))
- (i64.load16_u align=8 (i32.const 0))
- (i64.load32_u align=1 (i32.const 0))
- (i32.load8_s align=8 (i32.const 0))
- (i32.load16_s align=1 (i32.const 0))
- (i32.load8_u align=4 (i32.const 0))
- (i32.load16_u align=8 (i32.const 0))
- (f32.load align=2 (i32.const 0))
- (f64.load align=8 (i32.const 0))))
diff --git a/test/expr/load-offset.txt b/test/expr/load-offset.txt
deleted file mode 100644
index cf294750..00000000
--- a/test/expr/load-offset.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-(module
- (func
- (i32.load offset=0 (i32.const 0))
- (i64.load offset=1 (i32.const 0))
- (i64.load8_s offset=2 (i32.const 0))
- (i64.load16_s offset=3 (i32.const 0))
- (i64.load32_s offset=4 (i32.const 0))
- (i64.load8_u offset=5 (i32.const 0))
- (i64.load16_u offset=6 (i32.const 0))
- (i64.load32_u offset=7 (i32.const 0))
- (i32.load8_s offset=8 (i32.const 0))
- (i32.load16_s offset=9 (i32.const 0))
- (i32.load8_u offset=10 (i32.const 0))
- (i32.load16_u offset=11 (i32.const 0))
- (f32.load offset=12 (i32.const 0))
- (f64.load offset=13 (i32.const 0))
-
- (i32.load offset=0 align=1 (i32.const 0))
- (i64.load offset=1 align=2 (i32.const 0))
- (i64.load8_s offset=2 align=4 (i32.const 0))
- (i64.load16_s offset=3 align=8 (i32.const 0))
- (i64.load32_s offset=4 align=16 (i32.const 0))
- (i64.load8_u offset=5 align=32 (i32.const 0))
- (i64.load16_u offset=6 align=64 (i32.const 0))
- (i64.load32_u offset=7 align=128 (i32.const 0))
- (i32.load8_s offset=8 align=64 (i32.const 0))
- (i32.load16_s offset=9 align=32 (i32.const 0))
- (i32.load8_u offset=10 align=16 (i32.const 0))
- (i32.load16_u offset=11 align=8 (i32.const 0))
- (f32.load offset=12 align=4 (i32.const 0))
- (f64.load offset=13 align=2 (i32.const 0))))
diff --git a/test/expr/load.txt b/test/expr/load.txt
deleted file mode 100644
index fc7b3634..00000000
--- a/test/expr/load.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-(module
- (func
- (i32.load (i32.const 0))
- (i32.load8_s (i32.const 0))
- (i32.load16_s (i32.const 0))
- (i32.load8_u (i32.const 0))
- (i32.load16_u (i32.const 0))
- (i64.load (i32.const 0))
- (i64.load8_s (i32.const 0))
- (i64.load16_s (i32.const 0))
- (i64.load32_s (i32.const 0))
- (i64.load8_u (i32.const 0))
- (i64.load16_u (i32.const 0))
- (i64.load32_u (i32.const 0))
- (f32.load (i32.const 0))
- (f64.load (i32.const 0))))
diff --git a/test/expr/loadglobal-name.txt b/test/expr/loadglobal-name.txt
deleted file mode 100644
index f777fa79..00000000
--- a/test/expr/loadglobal-name.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-(module (global $n i32)
- (func (load_global $n)))
diff --git a/test/expr/loadglobal.txt b/test/expr/loadglobal.txt
deleted file mode 100644
index dec71a49..00000000
--- a/test/expr/loadglobal.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-(module (global i32)
- (func (load_global 0)))
diff --git a/test/expr/loop-empty.txt b/test/expr/loop-empty.txt
deleted file mode 100644
index 95b68fed..00000000
--- a/test/expr/loop-empty.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (loop)))
diff --git a/test/expr/loop-named.txt b/test/expr/loop-named.txt
deleted file mode 100644
index e5b6f539..00000000
--- a/test/expr/loop-named.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-(module
- (func
- (loop (nop))
- (loop $inner (nop))
- (loop $inner $outer (nop))))
diff --git a/test/expr/loop.txt b/test/expr/loop.txt
deleted file mode 100644
index 45950ee3..00000000
--- a/test/expr/loop.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-(module
- (func
- (loop (nop) (nop))))
diff --git a/test/expr/memory-size.txt b/test/expr/memory-size.txt
deleted file mode 100644
index d180cc96..00000000
--- a/test/expr/memory-size.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-(module
- (func
- (memory_size)))
diff --git a/test/expr/nop.txt b/test/expr/nop.txt
deleted file mode 100644
index dbec68e4..00000000
--- a/test/expr/nop.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (nop)))
diff --git a/test/expr/resize-memory.txt b/test/expr/resize-memory.txt
deleted file mode 100644
index 86795fee..00000000
--- a/test/expr/resize-memory.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-(module
- (func
- (grow_memory (i32.const 100))))
diff --git a/test/expr/return-block.txt b/test/expr/return-block.txt
deleted file mode 100644
index 14b5e864..00000000
--- a/test/expr/return-block.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-(module
- (func (result i32)
- (return
- (block
- (nop)
- (i32.const 1)))))
diff --git a/test/expr/return-empty.txt b/test/expr/return-empty.txt
deleted file mode 100644
index e8dea706..00000000
--- a/test/expr/return-empty.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-(module
- (func (return)))
diff --git a/test/expr/return-if.txt b/test/expr/return-if.txt
deleted file mode 100644
index 3ce9cdcc..00000000
--- a/test/expr/return-if.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-(module
- (func (result i32)
- (return
- (if_else (i32.const 1)
- (i32.const 2)
- (i32.const 3)))))
diff --git a/test/expr/return-void.txt b/test/expr/return-void.txt
deleted file mode 100644
index 76196f69..00000000
--- a/test/expr/return-void.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (return)))
diff --git a/test/expr/return.txt b/test/expr/return.txt
deleted file mode 100644
index 8a49c2dd..00000000
--- a/test/expr/return.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-(module
- (func (result i32)
- (return (i32.const 42))))
diff --git a/test/expr/select.txt b/test/expr/select.txt
deleted file mode 100644
index dc2b41f0..00000000
--- a/test/expr/select.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-(module
- (func
- (i32.select (i32.const 1) (i32.const 2) (i32.const 3))
- (i64.select (i32.const 1) (i64.const 2) (i64.const 3))
- (f32.select (i32.const 1) (f32.const 2) (f32.const 3))
- (f64.select (i32.const 1) (f64.const 2) (f64.const 3))))
diff --git a/test/expr/setlocal-index-after-param.txt b/test/expr/setlocal-index-after-param.txt
deleted file mode 100644
index b21241de..00000000
--- a/test/expr/setlocal-index-after-param.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (param i32) (local i32) (set_local 1 (i32.const 0))))
diff --git a/test/expr/setlocal-index-mixed-named-unnamed.txt b/test/expr/setlocal-index-mixed-named-unnamed.txt
deleted file mode 100644
index 398db637..00000000
--- a/test/expr/setlocal-index-mixed-named-unnamed.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-(module
- (func (param i32) (param $n f32)
- (local i32 i64)
- (local $m f64)
- (set_local 0 (i32.const 0))
- (set_local 1 (f32.const 0))
- (set_local $n (f32.const 0)) ;; 1
- (set_local 2 (i32.const 0))
- (set_local 3 (i64.const 0))
- (set_local $m (f64.const 0)) ;; 4
- (set_local 4 (f64.const 0))))
diff --git a/test/expr/setlocal-named.txt b/test/expr/setlocal-named.txt
deleted file mode 100644
index 304cebb4..00000000
--- a/test/expr/setlocal-named.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-(module (func
- (local $n i32)
- (set_local $n (i32.const 12))))
diff --git a/test/expr/setlocal-param-named.txt b/test/expr/setlocal-param-named.txt
deleted file mode 100644
index 4642accd..00000000
--- a/test/expr/setlocal-param-named.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (param $n i32) (set_local $n (i32.const 0))))
diff --git a/test/expr/setlocal-param.txt b/test/expr/setlocal-param.txt
deleted file mode 100644
index f80c2651..00000000
--- a/test/expr/setlocal-param.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (param i32) (set_local 0 (i32.const 0))))
diff --git a/test/expr/setlocal.txt b/test/expr/setlocal.txt
deleted file mode 100644
index 01cbf799..00000000
--- a/test/expr/setlocal.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-(module (func (local i32)
- (set_local 0 (i32.const 0))))
diff --git a/test/expr/store-aligned.txt b/test/expr/store-aligned.txt
deleted file mode 100644
index 07bfcd7c..00000000
--- a/test/expr/store-aligned.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-(module
- (func
- (i32.store8 align=1 (i32.const 0) (i32.const 0))
- (i32.store16 align=2 (i32.const 0) (i32.const 0))
- (i32.store align=4 (i32.const 0) (i32.const 0))
- (i64.store align=8 (i32.const 0) (i64.const 0))
- (i64.store8 align=1 (i32.const 0) (i64.const 0))
- (i64.store16 align=2 (i32.const 0) (i64.const 0))
- (i64.store32 align=4 (i32.const 0) (i64.const 0))
- (f32.store align=4 (i32.const 0) (f32.const 0))
- (f64.store align=8 (i32.const 0) (f64.const 0))))
diff --git a/test/expr/store-offset.txt b/test/expr/store-offset.txt
deleted file mode 100644
index 0c189c24..00000000
--- a/test/expr/store-offset.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-(module
- (func
- (i32.store8 offset=0 (i32.const 0) (i32.const 0))
- (i32.store16 offset=1 (i32.const 0) (i32.const 0))
- (i32.store offset=2 (i32.const 0) (i32.const 0))
- (i64.store offset=3 (i32.const 0) (i64.const 0))
- (i64.store8 offset=4 (i32.const 0) (i64.const 0))
- (i64.store16 offset=5 (i32.const 0) (i64.const 0))
- (i64.store32 offset=6 (i32.const 0) (i64.const 0))
- (f32.store offset=7 (i32.const 0) (f32.const 0))
- (f64.store offset=8 (i32.const 0) (f64.const 0))
-
- ;; alignment must come after
- (i32.store8 offset=0 align=1 (i32.const 0) (i32.const 0))
- (i32.store16 offset=1 align=2 (i32.const 0) (i32.const 0))
- (i32.store offset=2 align=4 (i32.const 0) (i32.const 0))
- (i64.store offset=3 align=8 (i32.const 0) (i64.const 0))
- (i64.store8 offset=4 align=16 (i32.const 0) (i64.const 0))
- (i64.store16 offset=5 align=8 (i32.const 0) (i64.const 0))
- (i64.store32 offset=6 align=4 (i32.const 0) (i64.const 0))
- (f32.store offset=7 align=2 (i32.const 0) (f32.const 0))
- (f64.store offset=8 align=1 (i32.const 0) (f64.const 0))))
diff --git a/test/expr/store.txt b/test/expr/store.txt
deleted file mode 100644
index d6d9bf3c..00000000
--- a/test/expr/store.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-(module
- (func
- (i32.store8 (i32.const 0) (i32.const 0))
- (i32.store16 (i32.const 0) (i32.const 0))
- (i32.store (i32.const 0) (i32.const 0))
- (i64.store (i32.const 0) (i64.const 0))
- (i64.store8 (i32.const 0) (i64.const 0))
- (i64.store16 (i32.const 0) (i64.const 0))
- (i64.store32 (i32.const 0) (i64.const 0))
- (f32.store (i32.const 0) (f32.const 0))
- (f64.store (i32.const 0) (f64.const 0))))
diff --git a/test/expr/storeglobal-name.txt b/test/expr/storeglobal-name.txt
deleted file mode 100644
index 8c774588..00000000
--- a/test/expr/storeglobal-name.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-(module (global $n i32)
- (func (store_global $n (i32.const 42))))
diff --git a/test/expr/storeglobal.txt b/test/expr/storeglobal.txt
deleted file mode 100644
index a1526f66..00000000
--- a/test/expr/storeglobal.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-(module (global i32)
- (func (store_global 0 (i32.const 12))))
diff --git a/test/expr/tableswitch-default-br.txt b/test/expr/tableswitch-default-br.txt
deleted file mode 100644
index 63425795..00000000
--- a/test/expr/tableswitch-default-br.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-(module
- (func
- (label
- (tableswitch (i32.const 0)
- (table (case 0)) (br 0)
- (case (nop))))))
diff --git a/test/expr/tableswitch-empty-case.txt b/test/expr/tableswitch-empty-case.txt
deleted file mode 100644
index 1e22e67b..00000000
--- a/test/expr/tableswitch-empty-case.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-(module
- (func
- (tableswitch (i32.const 0)
- (table (case 0) (case 1)) (case 2)
- (case)
- (case)
- (case (nop)))))
diff --git a/test/expr/tableswitch-empty.txt b/test/expr/tableswitch-empty.txt
deleted file mode 100644
index f37ccc97..00000000
--- a/test/expr/tableswitch-empty.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-(module
- (func
- (label
- (tableswitch (i32.const 0)
- (table) (br 0)))))
diff --git a/test/expr/tableswitch-multi.txt b/test/expr/tableswitch-multi.txt
deleted file mode 100644
index fec4481c..00000000
--- a/test/expr/tableswitch-multi.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-(module
- (func
- (tableswitch (i32.const 0)
- (table (case 4) (case 3) (case 2) (case 1)) (case 0)
- (case (nop))
- (case (nop))
- (case (nop))
- (case (nop))
- (case (nop)))))
diff --git a/test/expr/tableswitch-named.txt b/test/expr/tableswitch-named.txt
deleted file mode 100644
index 20d0a471..00000000
--- a/test/expr/tableswitch-named.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-(module
- (func
- (tableswitch $exit (i32.const 0)
- (table (case $0) (case $1)) (br $exit)
- (case $0 (nop))
- (case $1 (nop)))))
diff --git a/test/expr/tableswitch-table-br.txt b/test/expr/tableswitch-table-br.txt
deleted file mode 100644
index b996aa7f..00000000
--- a/test/expr/tableswitch-table-br.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-(module
- (func
- (label
- (tableswitch (i32.const 0)
- (table (br 0)) (case 0)
- (case (nop))))))
diff --git a/test/expr/tableswitch-unreferenced.txt b/test/expr/tableswitch-unreferenced.txt
deleted file mode 100644
index a60f3ed0..00000000
--- a/test/expr/tableswitch-unreferenced.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-(module
- (func
- (tableswitch (i32.const 0)
- (table (case 0)) (case 1)
- (case (nop))
- (case (nop))
- (case (nop)))))
diff --git a/test/expr/tableswitch.txt b/test/expr/tableswitch.txt
deleted file mode 100644
index aa04a4c6..00000000
--- a/test/expr/tableswitch.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-(module
- (func
- (tableswitch (i32.const 0)
- (table (case 0)) (case 1)
- (case (nop))
- (case (nop)))))
diff --git a/test/expr/unary.txt b/test/expr/unary.txt
deleted file mode 100644
index 64d5a610..00000000
--- a/test/expr/unary.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-(module
- (func
- (f32.neg (f32.const 0))
- (f64.neg (f64.const 0))
- (f32.abs (f32.const 0))
- (f64.abs (f64.const 0))
- (f32.sqrt (f32.const 0))
- (f64.sqrt (f64.const 0))
- (i32.not (i32.const 0))
- (i32.clz (i32.const 0))
- (i64.clz (i64.const 0))
- (i32.ctz (i32.const 0))
- (i64.ctz (i64.const 0))
- (i32.popcnt (i32.const 0))
- (i64.popcnt (i64.const 0))
- (f32.ceil (f32.const 0))
- (f64.ceil (f64.const 0))
- (f32.floor (f32.const 0))
- (f64.floor (f64.const 0))
- (f32.trunc (f32.const 0))
- (f64.trunc (f64.const 0))
- (f32.nearest (f32.const 0))
- (f64.nearest (f64.const 0))))
diff --git a/test/expr/unreachable.txt b/test/expr/unreachable.txt
deleted file mode 100644
index e72ae48c..00000000
--- a/test/expr/unreachable.txt
+++ /dev/null
@@ -1 +0,0 @@
-(module (func (unreachable)))