diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/mi2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/mi2.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/mi2.c b/gcc/testsuite/gcc.dg/cpp/mi2.c new file mode 100644 index 000000000..916d5a949 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/mi2.c @@ -0,0 +1,12 @@ +/* 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>. */ +/* { dg-do compile } */ + +#include "mi2a.h" +#include "mi2b.h" + +int main (void) +{ + return x; +} |