1 #define __bitwise __attribute__((bitwise))
2 #define __force __attribute__((force))
4 typedef int __bitwise apple_t
;
5 typedef int __bitwise orange_t
;
8 A
= (__force apple_t
) 0,
9 B
= (__force orange_t
) 1,
13 * check-name: enum-bitwise-bad
16 enum-bitwise-bad.c:9:14: error: incompatible restricted type
17 enum-bitwise-bad.c:9:14: expected: restricted apple_t
18 enum-bitwise-bad.c:9:14: got: restricted orange_t