Added simplified test case for conversion double2int.
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Tue, 29 Jul 2008 14:13:27 +0000 (14:13 +0000)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Tue, 29 Jul 2008 14:13:27 +0000 (14:13 +0000)
[r20760]

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

diff --git a/ir/be/test/fehler117.c b/ir/be/test/fehler117.c
new file mode 100644 (file)
index 0000000..ec7b0d4
--- /dev/null
@@ -0,0 +1,6 @@
+double x = 4294967295.0;
+
+int main(void) {
+       printf("%u (should be 4294967295)\n", (unsigned int)x);
+       return 0;
+}