fehler127: WTF - autobreak expects this to compile.
[libfirm] / ir / be / test / fehler113.c
1 #ifndef CHAR_BIT
2 #define CHAR_BIT 8
3 #endif
4
5 #define ROL(a,b) (((a) << (b)) | ((a) >> ((sizeof (a) * CHAR_BIT) - (b))))
6 #define ROL(a,b) (((a) << (b)) | ((a) >> ((sizeof (a) * CHAR_BIT) - (b))))
7
8 /* This is NOT folded into a ROL, but demonstrates an error in old lowering */
9 long long testLL(long long a) {
10         return ROL(a,3);
11 }
12
13 int main() {
14         int printf(const char *fmt, ...);
15
16         printf("%lld\n", testLL(1));
17         return 0;
18 }