PR middle-end/27945
[official-gcc.git] / gcc / testsuite / gcc.dg / darwin-minversion-1.c
blobd8a3243bb5509d718123125f2216809f3f5b260d
1 /* Basic test for -mmacosx-version-min switch on Darwin. */
2 /* { dg-options "-mmacosx-version-min=10.1" } */
3 /* { dg-do run { target *-*-darwin* } } */
5 int main(void)
7 #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1010
8 fail me;
9 #endif
10 return 0;