summaryrefslogtreecommitdiff
path: root/test/passes/dealign64.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/dealign64.txt')
-rw-r--r--test/passes/dealign64.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/test/passes/dealign64.txt b/test/passes/dealign64.txt
new file mode 100644
index 000000000..cbbe0b375
--- /dev/null
+++ b/test/passes/dealign64.txt
@@ -0,0 +1,33 @@
+(module
+ (type $none_=>_none (func))
+ (memory $0 i64 1 1)
+ (func $test
+ (drop
+ (i32.load align=1
+ (i64.const 4)
+ )
+ )
+ (drop
+ (i32.load align=1
+ (i64.const 8)
+ )
+ )
+ (drop
+ (i32.load align=1
+ (i64.const 12)
+ )
+ )
+ (i32.store align=1
+ (i64.const 16)
+ (i32.const 28)
+ )
+ (i32.store align=1
+ (i64.const 20)
+ (i32.const 32)
+ )
+ (i32.store align=1
+ (i64.const 24)
+ (i32.const 36)
+ )
+ )
+)