another bug
authorMatthias Braun <matze@braunis.de>
Thu, 6 Sep 2007 13:33:52 +0000 (13:33 +0000)
committerMatthias 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]

diff --git a/ir/be/test/fehler73.c b/ir/be/test/fehler73.c
new file mode 100644 (file)
index 0000000..92bae37
--- /dev/null
@@ -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;
+}