switch is still broken, copying over cparser testcase since noone runs the cparser...
[libfirm] / ir / be / test / andtest.c
index 1d54138..8d1bfaf 100644 (file)
@@ -1,7 +1,9 @@
+#include <stdio.h>
+
 static int test(int a, int i)
 {
-  a &= ~(1 << (i & 0x0000001F));
-  return a;
+       a &= ~(1 << (i & 0x0000001F));
+       return a;
 }
 
 int A = 15;
@@ -9,5 +11,7 @@ int I = 3;
 
 int main()
 {
-  printf("test(%d, %d) = %d\n", A, I, test(A,I));
+       printf("test(%d, %d) = %d\n", A, I, test(A,I));
+
+       return 0;
 }