PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / darwin-minversion-12.c
blob4c2ce38b55e0233fa7a332b237f5e072218b359d
1 /* PR target/63810: Test that an OS X minimum version with outrageous
2 zero-padding and a minor number less than 10 still produces
3 a four-character macro. */
4 /* Added by Lawrence Velázquez <vq@larryv.me>. */
6 /* { dg-options "-mmacosx-version-min=010.008.000031" } */
7 /* { dg-do compile { target *-*-darwin* } } */
9 int
10 main ()
12 #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1089
13 fail me;
14 #endif
15 return 0;