aboutsummaryrefslogtreecommitdiff
path: root/test/common-real-int-sign.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/common-real-int-sign.qbe')
-rw-r--r--test/common-real-int-sign.qbe2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common-real-int-sign.qbe b/test/common-real-int-sign.qbe
index 6de74a3..198ca6a 100644
--- a/test/common-real-int-sign.qbe
+++ b/test/common-real-int-sign.qbe
@@ -2,7 +2,7 @@ export
function w $main() {
@start.1
@body.2
- %.1 =w sub 0, 1
+ %.1 =w neg 1
%.2 =w cugtw 0, %.1
ret %.2
}