summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-load-align-negative.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr/bad-load-align-negative.txt')
-rw-r--r--test/parse/expr/bad-load-align-negative.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/parse/expr/bad-load-align-negative.txt b/test/parse/expr/bad-load-align-negative.txt
new file mode 100644
index 00000000..15e93ba9
--- /dev/null
+++ b/test/parse/expr/bad-load-align-negative.txt
@@ -0,0 +1,5 @@
+;;; ERROR: 1
+(module (func (i32.load8_s align=-1 (i32.const 0))))
+(;; STDERR ;;;
+parse/expr/bad-load-align-negative.txt:2:28: unexpected token "align=-1"
+;;; STDERR ;;)