Debian Codegraph @

gcc/testsuite/gcc.dg/cpp/subframework1.c

raw
1 /* Copyright (C) 2004 Free Software Foundation, Inc. */
2
3 /* { dg-do preprocess { target *-*-darwin* } } */
4 /* { dg-options "-Wno-deprecated -F$srcdir/gcc.dg/cpp/frame" } */
5
6 /* Contributed by Robert Bowdidge <[email protected]> */
7 /* include a file from a subframework that will import two files that
8 both look at the same file. Make sure we only include that file once;
9 if so, the program will compile fine. If not, we'll get redefinition
10 errors */
11
12 #include <one/one-includeSubs.h>
13 #ifndef ONESUB_C_INCLUDED
14 #error C.h not included
15 #endif