diff options
author | Michael Forney <mforney@mforney.org> | 2021-09-06 13:38:00 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-09-06 13:38:00 -0700 |
commit | 34ae0d48e9669687003c26f94e07fa00d12dd41f (patch) | |
tree | f2de13fb240b5a1f35fa8ed9869a1431529547e9 /test/char-sign+aarch64.qbe | |
parent | e07ea69d611991a24d67076df906866c198252c0 (diff) |
Add tests for char/wchar_t signedness
Diffstat (limited to 'test/char-sign+aarch64.qbe')
-rw-r--r-- | test/char-sign+aarch64.qbe | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/char-sign+aarch64.qbe b/test/char-sign+aarch64.qbe new file mode 100644 index 0000000..002f645 --- /dev/null +++ b/test/char-sign+aarch64.qbe @@ -0,0 +1,10 @@ +export data $x = align 4 { w 0, } +export +function w $main() { +@start.1 +@body.2 + %.1 =w sub 0, 1 + %.2 =w extub %.1 + %.3 =w csltw %.2, 0 + ret %.3 +} |