1 /* Basic test for -mmacosx-version-min switch on Darwin. */ 2 /* { dg-options "-mmacosx-version-min=10.5" } */ 3 /* { dg-do compile { target *-*-darwin* } } */ 4 5 int main()6 main () 7 { 8 #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1050 9 fail me; 10 #endif 11 return 0; 12 } 13