start register allocator again, fix typo
[libfirm] / ir / be / test / convtest.c
index b58661b..3ee6e23 100644 (file)
@@ -1,3 +1,5 @@
+#include <stdio.h>
+
 int bla(char a, char b, char c, char d, short e, short f, short g, int h, int i, float j) {
        return a + b + c + d + e + f + g + h + i + (int)j;
 }
@@ -16,3 +18,8 @@ int convtest_func(char c, short s, int i, float f, double d) {
 
        return bla(sc, ic, fc, dc, is, fs, ds, fi, di, df);
 }
+
+int main() {
+       printf("%d\n", convtest_func('a', 42, 2444, 7.153f, 8.222));
+       return 0;
+}