diff options
Diffstat (limited to 'test/expr-neg.qbe')
-rw-r--r-- | test/expr-neg.qbe | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/expr-neg.qbe b/test/expr-neg.qbe new file mode 100644 index 0000000..ab95a4a --- /dev/null +++ b/test/expr-neg.qbe @@ -0,0 +1,10 @@ +export +function d $f(d %.1) { +@start.1 + %.2 =l alloc8 8 + stored %.1, %.2 +@body.2 + %.3 =d loadd %.2 + %.4 =d neg %.3 + ret %.4 +} |