aboutsummaryrefslogtreecommitdiff
path: root/tests/subtract-pointer.qbe
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-04-16 12:26:18 -0700
committerMichael Forney <mforney@mforney.org>2019-04-16 12:26:18 -0700
commitde004660726acb148bf0022706b7019ca560172d (patch)
treede95581449d1db324c074859615501cf8f0bc5c3 /tests/subtract-pointer.qbe
parent953e1e6f287d8bc00b2ef8d2197a20a549274eb3 (diff)
tests -> test
Diffstat (limited to 'tests/subtract-pointer.qbe')
-rw-r--r--tests/subtract-pointer.qbe16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/subtract-pointer.qbe b/tests/subtract-pointer.qbe
deleted file mode 100644
index 0e7e9a3..0000000
--- a/tests/subtract-pointer.qbe
+++ /dev/null
@@ -1,16 +0,0 @@
-export
-function $f(l %.1, l %.3) {
-@start.1
- %.2 =l alloc8 8
- storel %.1, %.2
- %.4 =l alloc8 8
- storel %.3, %.4
-@body.2
- %.5 =l loadl %.2
- %.6 =l copy %.5
- %.7 =l loadl %.4
- %.8 =l copy %.7
- %.9 =l sub %.6, %.8
- %.10 =l div %.9, 4
- ret
-}