fehler89
[libfirm] / ir / be / test / switch_test.c
index 5e0cfda..d1c7f97 100644 (file)
@@ -1,4 +1,6 @@
-static int test(int a)
+#include <stdio.h>
+
+int test(int a)
 {
   int b = 0xff;
 
@@ -38,4 +40,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;
 }