From fed4dc076cc00f9b04bee26ef127b8c72d58d5bd Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 2 Jun 2008 11:59:46 +0000 Subject: [PATCH] test for strictConv orgie [r19926] --- ir/be/test/conv_orgie.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ir/be/test/conv_orgie.c 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; +} -- 2.20.1