test for strictConv orgie
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 2 Jun 2008 11:59:46 +0000 (11:59 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 2 Jun 2008 11:59:46 +0000 (11:59 +0000)
[r19926]

ir/be/test/conv_orgie.c [new file with mode: 0644]

diff --git a/ir/be/test/conv_orgie.c b/ir/be/test/conv_orgie.c
new file mode 100644 (file)
index 0000000..9280d9a
--- /dev/null
@@ -0,0 +1,15 @@
+#include <stdio.h>
+
+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;
+}