aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/builtin-inff.c1
-rw-r--r--tests/builtin-inff.qbe1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/builtin-inff.c b/tests/builtin-inff.c
new file mode 100644
index 0000000..2dcd040
--- /dev/null
+++ b/tests/builtin-inff.c
@@ -0,0 +1 @@
+float x = __builtin_inff();
diff --git a/tests/builtin-inff.qbe b/tests/builtin-inff.qbe
new file mode 100644
index 0000000..5eb8060
--- /dev/null
+++ b/tests/builtin-inff.qbe
@@ -0,0 +1 @@
+export data $x = align 4 { s s_inf, }