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

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