arch_register_class_put() is only used locally
[libfirm] / ir / be / test / convtest.c
index 26f5bca..43b489e 100644 (file)
@@ -7,27 +7,20 @@ int bla(char a, char b, char c, char d, short e, short f, short g, int h, int i,
 int convtest_func(char c, short s, int i, float f, double d) {
        char sc = c + s;
        char ic = c + i;
-       //char fc = c + f;
-       //char dc = c + d;
-       char fc = c;
-       char dc = c;
-       //short is = s + i;
-       //short fs = s + f;
-       //short ds = s + d;
-       short is = s;
+       char fc = c + f;
+       char dc = c + d;
+       short is = s + i;
        short fs = s + f;
-       short ds = s;
-       //int fi = i + f;
-       //int di = i + d;
+       short ds = s + d;
+    //int ti = i + s;
        int fi = i + f;
-       int di = i;
-       //float df = d + f;
-       double df = d;
+       int di = i + d;
+       float df = d + f;
 
        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));
+       printf("%d (expected 7576)\n", convtest_func('a', 42, 2444, 7.753f, 8.222));
        return 0;
 }