From: Matthias Braun Date: Mon, 23 Jul 2007 19:09:55 +0000 (+0000) Subject: fehler50 X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b2c0a7b7b4a97ee18cb93ca7394307ef982b361c;p=libfirm fehler50 [r15300] --- diff --git a/ir/be/test/fehler50.c b/ir/be/test/fehler50.c new file mode 100644 index 000000000..922e38de2 --- /dev/null +++ b/ir/be/test/fehler50.c @@ -0,0 +1,23 @@ +#include + +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; +}