a testcase for the just fixed deconv problem
authorMatthias Braun <matze@braunis.de>
Thu, 4 Oct 2007 12:26:34 +0000 (12:26 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 4 Oct 2007 12:26:34 +0000 (12:26 +0000)
[r16077]

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

diff --git a/ir/be/test/fehler90.c b/ir/be/test/fehler90.c
new file mode 100644 (file)
index 0000000..468d506
--- /dev/null
@@ -0,0 +1,11 @@
+unsigned int x = 12345;
+
+int main(int argc, char **argv)
+{
+       unsigned short k = ~x;
+       char b1 = k & 0xff;
+       char b2 = k >> 8;
+
+       printf("%d %d\n", b1, b2);
+       return 0;
+}