we can parse lots of assembler constraints now (but not all yet), and emit immediates...
[libfirm] / ir / be / test / switch_test.c
index 5e0cfda..bb3869c 100644 (file)
@@ -1,4 +1,4 @@
-static int test(int a)
+int test(int a)
 {
   int b = 0xff;
 
@@ -38,4 +38,6 @@ int main()
   printf(" on %d %d\n", 4, test(4));
   printf(" on %d %d\n", 5, test(5));
   printf(" on %d %d\n", 6, test(6));
+
+  return 0;
 }