gcc/testsuite/gcc.dg/darwin-minversion-9.c
raw| 1 | /* PR target/63810: Test that an OS X minimum version with a zero-padded |
| 2 | minor number less than 10 produces a four-character macro. */ |
| 3 | /* Added by Lawrence Velázquez <[email protected]>. */ |
| 4 | |
| 5 | /* { dg-options "-mmacosx-version-min=10.08.4" } */ |
| 6 | /* { dg-do compile { target *-*-darwin* } } */ |
| 7 | |
| 8 | int |
| 9 | main () |
| 10 | { |
| 11 | #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1084 |
| 12 | fail me; |
| 13 | #endif |
| 14 | return 0; |
| 15 | } |