aboutsummaryrefslogtreecommitdiff
path: root/tests/float-promote.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float-promote.c')
-rw-r--r--tests/float-promote.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/float-promote.c b/tests/float-promote.c
new file mode 100644
index 0000000..572719a
--- /dev/null
+++ b/tests/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);
+}