comparison gcc/testsuite/gcc.dg/cpp/mi2c.h @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
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