projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6c5fd2
)
fehler50
author
Matthias Braun
<matze@braunis.de>
Mon, 23 Jul 2007 19:09:55 +0000
(19:09 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 23 Jul 2007 19:09:55 +0000
(19:09 +0000)
[r15300]
ir/be/test/fehler50.c
[new file with mode: 0644]
patch
|
blob
diff --git a/ir/be/test/fehler50.c
b/ir/be/test/fehler50.c
new file mode 100644
(file)
index 0000000..
922e38d
--- /dev/null
+++ b/
ir/be/test/fehler50.c
@@ -0,0
+1,23
@@
+#include <stdio.h>
+
+void te(int *bla) {
+ int *blup = bla;
+
+ while(blup) {
+ switch(*blup) {
+ case 20:
+ printf("Joa: %d\n", *(blup+1));
+ blup = 0;
+ break;
+ }
+ }
+}
+
+int main()
+{
+ int arr[] = { 20, 2, 4, 5, 6, 8 };
+
+ te(arr);
+
+ return 0;
+}