aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/darwin-minversion-2.c
blob: 8e18d5273a6b539e035929507846c3f293ae9c1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Basic test for -mmacosx-version-min switch on Darwin.  */
/* { dg-options "-mmacosx-version-min=10.1 -mmacosx-version-min=10.3" } */
/* { dg-do run { target *-*-darwin* } } */

int
main ()
{
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1030
  fail me;
#endif
  return 0;
}