aboutsummaryrefslogtreecommitdiff
path: root/test/float-promote.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/float-promote.qbe')
-rw-r--r--test/float-promote.qbe11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/float-promote.qbe b/test/float-promote.qbe
new file mode 100644
index 0000000..052b1fa
--- /dev/null
+++ b/test/float-promote.qbe
@@ -0,0 +1,11 @@
+export
+function $f() {
+@start.1
+@body.2
+ %.1 =d exts s_0x1p+0
+ call $g1(d %.1)
+ %.2 =d exts s_0x1p+0
+ call $g2(w 0, d %.2, ...)
+ call $g3(s s_0x1p+0)
+ ret
+}