diff options
Diffstat (limited to 'test/if-char.qbe')
-rw-r--r-- | test/if-char.qbe | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/if-char.qbe b/test/if-char.qbe new file mode 100644 index 0000000..d964db4 --- /dev/null +++ b/test/if-char.qbe @@ -0,0 +1,11 @@ +export +function w $main() { +@start.1 +@body.2 + %.1 =w extub 256 + jnz %.1, @if_true.3, @if_false.4 +@if_true.3 + ret 1 +@if_false.4 + ret 0 +} |