projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
838a6e5
)
another bug
author
Matthias Braun
<matze@braunis.de>
Thu, 6 Sep 2007 13:33:52 +0000
(13:33 +0000)
committer
Matthias Braun
<matze@braunis.de>
Thu, 6 Sep 2007 13:33:52 +0000
(13:33 +0000)
[r15697]
ir/be/test/fehler73.c
[new file with mode: 0644]
patch
|
blob
diff --git a/ir/be/test/fehler73.c
b/ir/be/test/fehler73.c
new file mode 100644
(file)
index 0000000..
92bae37
--- /dev/null
+++ b/
ir/be/test/fehler73.c
@@ -0,0
+1,17
@@
+
+float f(float a, float b) {
+ return a*a + b*b;
+}
+
+int fi(int a, int b) {
+ return a*a + b*b;
+}
+
+int main(void) {
+ float a = 3;
+ float b = 4;
+ float c = 5;
+ printf("%.30f %.30f %.30f %.30f %.30f\n", a, b, c, f(a, b), c*c);
+ printf("%d\n", fi(3, 4));
+ return 0;
+}