From 31ab70c9b25b7203422c12d18439cfdee95a6d8d Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 20 Sep 2007 08:51:23 +0000 Subject: [PATCH] Add test for double call [r15890] --- ir/be/test/CallingTest.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ir/be/test/CallingTest.c b/ir/be/test/CallingTest.c index 85e2422e2..af51422d2 100644 --- a/ir/be/test/CallingTest.c +++ b/ir/be/test/CallingTest.c @@ -10,12 +10,18 @@ float float_func(void) return 13.5f; } +double double_func(void) +{ + return 13.5; +} + int main(int argc, char *argv[]) { printf("calltest.c\n"); - printf(" Calling int function: %d\n", int_func()); - printf(" Calling float function: %f\n", float_func()); + printf(" Calling int function: %d\n", int_func()); + printf(" Calling float function: %f\n", float_func()); + printf(" Calling double function: %f\n", double_func()); return 0; } -- 2.20.1