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