switch is still broken, copying over cparser testcase since noone runs the cparser...
[libfirm] / ir / be / test / ByteTest.c
1 #include <stdio.h>
2
3 int atoi(const char *s);
4
5 int main(int argc, char *argv[])
6 {
7   unsigned char a, b, c;
8
9   printf("ByteTest.c\n");
10
11   a = atoi("200");
12   b = atoi("56");
13
14   c = a+b;
15   printf(" 200 + 56 = %d (expected 0)\n", c);
16
17   return 0;
18 }