projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55d0c4a
)
Add test for double call
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 20 Sep 2007 08:51:23 +0000
(08:51 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 20 Sep 2007 08:51:23 +0000
(08:51 +0000)
[r15890]
ir/be/test/CallingTest.c
patch
|
blob
|
history
diff --git
a/ir/be/test/CallingTest.c
b/ir/be/test/CallingTest.c
index
85e2422
..
af51422
100644
(file)
--- 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;
}