summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/isysroot-2.c
blob: 346d4093cd491704c481de43a325ec2275082981 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-options "-isysroot ${srcdir}/gcc.dg/cpp" } */
/* { dg-do compile { target *-*-darwin* } } */

#include <Carbon/Carbon.h>
int main()
{
  /* Special Carbon.h supplies function foo.  */
  void (*x)(void) = foo;
  return 0;
}