summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/trad/mi2c.h
blob: 521792bee2f2c8687bc2cc9aa0c93b5d7336eaee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Test for overly eager multiple include optimization.
   Problem distilled from glibc 2.0.7's time.h, sys/time.h, timebits.h. 
   Problem noted by Tom Tromey <tromey@cygnus.com>.  */
#ifdef need_x
#undef need_x
#ifndef have_x
#define have_x
extern int x;
#endif
#endif

#ifndef t_h
#define t_h
extern int y;
#endif