fixed lots of warnings in testprograms
[libfirm] / ir / be / test / mul.c
1 #include <stdio.h>
2
3 /*
4  * Multiplication test for mul register constraints
5  */
6 int a = -2, b = 3, c = -4, d = 6, e = -6;
7 unsigned ua = 2, ub = 3;
8
9 int main()
10 {
11   int A, B, C;
12   unsigned D;
13
14   A = b * c;
15   B = A * d;
16   C = A * e;
17   D = ua * ub;
18
19   printf("Result: %d %u\n", A+B+C, D);
20
21   return 0;
22 }