gcc/testsuite/gcc.dg/darwin-minversion-4.c
raw| 1 | /* Test that minor versions greater than 9 produce a six-character macro. */ |
| 2 | /* { dg-options "-mmacosx-version-min=10.10.1" } */ |
| 3 | /* { dg-do compile { target *-*-darwin* } } */ |
| 4 | |
| 5 | int |
| 6 | main () |
| 7 | { |
| 8 | #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 101001 |
| 9 | fail me; |
| 10 | #endif |
| 11 | return 0; |
| 12 | } |