From: Matthias Braun Date: Thu, 6 Sep 2007 13:33:52 +0000 (+0000) Subject: another bug X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=357149a1d23185309377069d69ded334b380253f;p=libfirm another bug [r15697] --- diff --git a/ir/be/test/fehler73.c b/ir/be/test/fehler73.c new file mode 100644 index 000000000..92bae3764 --- /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; +}