Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/cpp/subframework1.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +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