Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/cpp/subframework1.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Copyright (C) 2004 Free Software Foundation, Inc. */ /* { dg-do preprocess { target *-*-darwin* } } */ /* { dg-options "-Wno-deprecated -F$srcdir/gcc.dg/cpp/frame" } */ /* Contributed by Robert Bowdidge <bowdidge@apple.com> */ /* include a file from a subframework that will import two files that both look at the same file. Make sure we only include that file once; if so, the program will compile fine. If not, we'll get redefinition errors */ #include <one/one-includeSubs.h> #ifndef ONESUB_C_INCLUDED #error C.h not included #endif