62 lines · 876 B · C
RawDownload
/* accept 'defined' as result of substitution */ ----- 1 ------#define AAA 2#define BBB#define CCC (defined ( AAA ) && AAA > 1 && !defined BBB)#if !CCCOK#elseNOT OK#endif ----- 2 ------#undef BBB#if CCCOK#elseNOT OK#endif ----- 3 ------#define DEFINED defined#define DDD (DEFINED ( AAA ) && AAA > 1 && !DEFINED BBB)#if (DDD)OK#elseNOT OK#endif ----- 4 ------#undef AAA#if !(DDD)OK#elseNOT OK#endif ----- 5 ------line __LINE__#define __LINE__ # ## #line __LINE__ ----- 10 ------/* preprocessor numbers are (u)intmax_t */#if -2147483648 < 01 true#endif#if -0x80000000 < 02 true#endif#if -9223372036854775808U > 03 true#endif#if -0x8000000000000000 > 0 // unsigned by overflow4 true#endif#if 1 << 31 > 2 && 1 << 32 > 2 && 1 << 63 < 2 && 1U << 63 > 25 true#endif#if (1<<29) * 11 >= 1<<32 && defined DDD << 63 < 06 true#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t