gcc/testsuite/gcc.dg/darwin-minversion-12.c
raw| 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 <[email protected]>. */ |
| 5 | |
| 6 | /* { dg-options "-mmacosx-version-min=010.008.000031" } */ |
| 7 | /* { dg-do compile { target *-*-darwin* } } */ |
| 8 | |
| 9 | int |
| 10 | main () |
| 11 | { |
| 12 | #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1089 |
| 13 | fail me; |
| 14 | #endif |
| 15 | return 0; |
| 16 | } |