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