xref: /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/mi2c.h (revision 91f110e064cd7c194e59e019b83bb7496c1c84d4)
1 /* Test for overly eager multiple include optimization.
2    Problem distilled from glibc 2.0.7's time.h, sys/time.h, timebits.h.
3    Problem noted by Tom Tromey <tromey@cygnus.com>.  */
4 #ifdef need_x
5 #undef need_x
6 #ifndef have_x
7 #define have_x
8 extern int x;
9 #endif
10 #endif
11 
12 #ifndef t_h
13 #define t_h
14 extern int y;
15 #endif
16