2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / trad / mi3.c
blobf33fd7887e9831c3602f4a191ec5bfbe3a237d79
1 /* Another test case for over-eager multiple include optimization.
2 This one distilled from glibc's setlocale.c and categories.def. */
3 /* { dg-do compile } */
5 #define X a
6 #include "mi3.def"
7 #undef X
9 #define X b
10 #include "mi3.def"
11 #undef X
13 #include "mi3.h"
14 #include "mi3.h" /* The second include declares variable c. */
16 int
17 main(void)
19 return a + b + c;