gcc/testsuite/gcc.dg/cpp/include4.c
raw| 1 | /* Preprocessing tokens are always formed according to a greedy algorithm, |
| 2 | so "#include <stddef.h" must be interpreted as a sequence of tokens, |
| 3 | of which the "h" then gets macro expanded. Likewise the other |
| 4 | examples. */ |
| 5 | |
| 6 | #define h h> |
| 7 | #include <stddef.h |
| 8 | #undef h |
| 9 | |
| 10 | #define foo stddef.h> |
| 11 | #include <foo |
| 12 | |
| 13 | #include <foo /* |
| 14 | > */ |