summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/include4.c
blob: d5e7fee881b227d4c3e4e51b621d81286c482c39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Preprocessing tokens are always formed according to a greedy algorithm,
   so "#include <stddef.h" must be interpreted as a sequence of tokens,
   of which the "h" then gets macro expanded.  Likewise the other
   examples.  */

#define h h>
#include <stddef.h
#undef h

#define foo stddef.h>
#include <foo

#include <foo /*
> */