aboutsummaryrefslogtreecommitdiff
path: root/test/unused-return.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 /test/unused-return.qbe
parent953e1e6f287d8bc00b2ef8d2197a20a549274eb3 (diff)
tests -> test
Diffstat (limited to 'test/unused-return.qbe')
-rw-r--r--test/unused-return.qbe7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/unused-return.qbe b/test/unused-return.qbe
new file mode 100644
index 0000000..d269c7f
--- /dev/null
+++ b/test/unused-return.qbe
@@ -0,0 +1,7 @@
+export
+function $f() {
+@start.1
+@body.2
+ %.1 =w call $g()
+ ret
+}