summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-load-align-not-pot.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr/bad-load-align-not-pot.txt')
-rw-r--r--test/parse/expr/bad-load-align-not-pot.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/parse/expr/bad-load-align-not-pot.txt b/test/parse/expr/bad-load-align-not-pot.txt
new file mode 100644
index 00000000..71b318f7
--- /dev/null
+++ b/test/parse/expr/bad-load-align-not-pot.txt
@@ -0,0 +1,5 @@
+;;; ERROR: 1
+(module (func (i32.load align=3 (i32.const 0))))
+(;; STDERR ;;;
+parse/expr/bad-load-align-not-pot.txt:2:25: alignment must be power-of-two
+;;; STDERR ;;)