mirror of
https://github.com/cc65/cc65.git
synced 2025-01-04 23:33:05 +00:00
9c69aac097
comma expressions since the aren't compliant and collide with macro invocations.
30 lines
270 B
C
30 lines
270 B
C
#if (0u - 1) < 0
|
|
#error
|
|
#endif
|
|
|
|
#if !1u - 1 > 0
|
|
#error
|
|
#endif
|
|
|
|
#if (1 & 1u) - 2 < 0
|
|
#error
|
|
#endif
|
|
|
|
#if (1 | 1u) - 2 < 0
|
|
#error
|
|
#endif
|
|
|
|
#if (1 ^ 1u) - 2 < 0
|
|
#error
|
|
#endif
|
|
|
|
#if (1u >> 1) - 2 < 0
|
|
#error
|
|
#endif
|
|
|
|
#if (0u << 1) - 1 < 0
|
|
#error
|
|
#endif
|
|
|
|
int main() { return 0; }
|