From: Michael Beck Date: Mon, 2 Jun 2008 11:59:46 +0000 (+0000) Subject: test for strictConv orgie X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=fed4dc076cc00f9b04bee26ef127b8c72d58d5bd;p=libfirm test for strictConv orgie [r19926] --- diff --git a/ir/be/test/conv_orgie.c b/ir/be/test/conv_orgie.c new file mode 100644 index 000000000..9280d9acd --- /dev/null +++ b/ir/be/test/conv_orgie.c @@ -0,0 +1,15 @@ +#include + +double a; + +double test(double d) { + float x = d; + double d1 = x; + float x1 = d1; + return x1; +} + +int main() { + printf("%f\n", test(a)); + return 0; +}