aboutsummaryrefslogtreecommitdiff
path: root/test/alignas-local-32.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/alignas-local-32.qbe')
-rw-r--r--test/alignas-local-32.qbe11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/alignas-local-32.qbe b/test/alignas-local-32.qbe
new file mode 100644
index 0000000..53bfab3
--- /dev/null
+++ b/test/alignas-local-32.qbe
@@ -0,0 +1,11 @@
+export
+function w $main() {
+@start.1
+ %.1 =l alloc16 17
+ %.2 =l add %.1, 16
+ %.3 =l and %.2, 18446744073709551584
+@body.2
+ %.4 =l extsw 32
+ %.5 =l urem %.3, %.4
+ ret %.5
+}