diff options
Diffstat (limited to 'test/common-real-int-sign.qbe')
-rw-r--r-- | test/common-real-int-sign.qbe | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/common-real-int-sign.qbe b/test/common-real-int-sign.qbe new file mode 100644 index 0000000..09f4060 --- /dev/null +++ b/test/common-real-int-sign.qbe @@ -0,0 +1,10 @@ +export +function w $main() { +@start.1 +@body.2 + %.1 =w copy 0 + %.2 =w copy 0 + %.3 =w sub %.2, 1 + %.4 =w cugtw %.1, %.3 + ret %.4 +} |