From: Michael Beck Date: Thu, 20 Sep 2007 08:51:23 +0000 (+0000) Subject: Add test for double call X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=31ab70c9b25b7203422c12d18439cfdee95a6d8d;p=libfirm Add test for double call [r15890] --- 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; }