summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/subframework1.c
blob: 35d64d7fb2d46cc4e779a3b255ca555eae486e37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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