summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/darwin-minversion-2.c
blob: fd4975a529266a49dc80ded6b0ffbab55ed4a085 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* 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(void)
{
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1030
  fail me;
#endif
  return 0;
}