PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / darwin-minversion-11.c
bloba03e7071682573e5539a6e75fe85002fcd813ff2
1 /* PR target/63810: Test that an OS X minimum version with outrageous
2 zero-padding and a minor number greater than 9 still produces
3 a six-character macro. */
4 /* Added by Lawrence Velázquez <vq@larryv.me>. */
6 /* { dg-options "-mmacosx-version-min=00010.010.0000098" } */
7 /* { dg-do compile { target *-*-darwin* } } */
9 int
10 main ()
12 #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 101098
13 fail me;
14 #endif
15 return 0;