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