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