aboutsummaryrefslogtreecommitdiff
path: root/test/float-promote.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/float-promote.c')
-rw-r--r--test/float-promote.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/float-promote.c b/test/float-promote.c
new file mode 100644
index 0000000..572719a
--- /dev/null
+++ b/test/float-promote.c
@@ -0,0 +1,8 @@
+void g1();
+void g2(int, ...);
+void g3(float);
+void f(void) {
+ g1(1.0f);
+ g2(0, 1.0f);
+ g3(1.0f);
+}