1 /* integer promotion */
3 int printf(const char*, ...);
4 #define promote(s) printf(" %ssigned : %s\n", (s) - 100 < 0 ? " " : "un", #s);
11 unsigned long long ullb
:35;
12 unsigned long long ull
:64;
23 promote((1 ? s
.ub
: 1));
24 promote((1 ? s
.u
: 1));
25 promote((1 ? s
.ullb
: 1));
26 promote((1 ? s
.ull
: 1));
27 promote((1 ? s
.c
: 1));
65 promote(+(unsigned)s
.ub
);
66 promote(-(unsigned)s
.ub
);
67 promote(~(unsigned)s
.ub
);
68 promote(!(unsigned)s
.ub
);