aboutsummaryrefslogtreecommitdiff
path: root/test/wchar-sign+aarch64.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/wchar-sign+aarch64.qbe')
-rw-r--r--test/wchar-sign+aarch64.qbe9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/wchar-sign+aarch64.qbe b/test/wchar-sign+aarch64.qbe
new file mode 100644
index 0000000..c81124d
--- /dev/null
+++ b/test/wchar-sign+aarch64.qbe
@@ -0,0 +1,9 @@
+export data $x = align 4 { w 0, }
+export
+function w $main() {
+@start.1
+@body.2
+ %.1 =w sub 0, 1
+ %.2 =w cultw %.1, 0
+ ret %.2
+}