aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/darwin-minversion-2.c
blob: 3dbbca6f4c583a02c173fea8a8f962219e49f806 (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.5" } */
/* { dg-do compile { target *-*-darwin* } } */

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