Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/subframework1.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 <bowdidge@apple.com> */ | |
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 |