diff options
author | Michael Forney <mforney@mforney.org> | 2021-09-04 17:23:53 -0700 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2021-09-07 08:31:48 +0200 |
commit | 649a546d702b41474fe76e9c779086cc8d35f3d2 (patch) | |
tree | 71ff9c3fdcf2931865aca4a8c3d8c9b1b723b5f5 /test/mem2.ssa | |
parent | 028534d9897079bf64559dca0402bc59a956ce46 (diff) | |
download | roux-649a546d702b41474fe76e9c779086cc8d35f3d2.tar.gz |
test: assign result of print functions to temporary
Though I am not aware of any architecture where this matters, it is technically incorrect to call these stdio functions as if they had no result. The QBE documentation says > Unless the called function does not return a value, a return > temporary must be specified, even if it is never used afterwards. so we should follow it in the tests as well.
Diffstat (limited to 'test/mem2.ssa')
0 files changed, 0 insertions, 0 deletions