fehler50
authorMatthias Braun <matze@braunis.de>
Mon, 23 Jul 2007 19:09:55 +0000 (19:09 +0000)
committerMatthias 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]

diff --git a/ir/be/test/fehler50.c b/ir/be/test/fehler50.c
new file mode 100644 (file)
index 0000000..922e38d
--- /dev/null
@@ -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;
+}