projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5730fa6
)
a testcase for the just fixed deconv problem
author
Matthias Braun
<matze@braunis.de>
Thu, 4 Oct 2007 12:26:34 +0000
(12:26 +0000)
committer
Matthias 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]
patch
|
blob
diff --git a/ir/be/test/fehler90.c
b/ir/be/test/fehler90.c
new file mode 100644
(file)
index 0000000..
468d506
--- /dev/null
+++ b/
ir/be/test/fehler90.c
@@ -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;
+}