Skip to content

Commit 5475b70

Browse files
authored
[test] Correct i32.store alignment in a LEB128 test (#1261)
In the binary-leb128.wast, change the alignment of an i32.store instruction from 3 (invalid) to 2 (the intention suggested by the comment).
1 parent 02a6f4f commit 5475b70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/core/binary-leb128.wast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@
852852
"\41\00" ;; i32.const 0
853853
"\41\03" ;; i32.const 3
854854
"\36" ;; i32.store
855-
"\03" ;; alignment 2
855+
"\02" ;; alignment 2
856856
"\82\80\80\80\10" ;; offset 2 with unused bits set
857857
"\0b" ;; end
858858
)

0 commit comments

Comments
 (0)