summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/darwin-minversion-1.c
blob: d8a3243bb5509d718123125f2216809f3f5b260d (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" } */
/* { dg-do run { target *-*-darwin* } } */

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