diff options
author | Michael Forney <mforney@mforney.org> | 2019-04-16 12:26:18 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-04-16 12:26:18 -0700 |
commit | de004660726acb148bf0022706b7019ca560172d (patch) | |
tree | de95581449d1db324c074859615501cf8f0bc5c3 /test/add-int-pointer.qbe | |
parent | 953e1e6f287d8bc00b2ef8d2197a20a549274eb3 (diff) |
tests -> test
Diffstat (limited to 'test/add-int-pointer.qbe')
-rw-r--r-- | test/add-int-pointer.qbe | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/add-int-pointer.qbe b/test/add-int-pointer.qbe new file mode 100644 index 0000000..22825ee --- /dev/null +++ b/test/add-int-pointer.qbe @@ -0,0 +1,10 @@ +export +function $f() { +@start.1 +@body.2 + %.1 =l extsw 1 + %.2 =l mul %.1, 4 + %.3 =l add $x, %.2 + ret +} +export data $x = align 4 { z 8 } |