gcc/testsuite/gcc.dg/darwin-minversion-6.c
raw| 1 | /* PR target/63810: Test that tiny numbers are preserved in |
| 2 | six-character macros. */ |
| 3 | /* Added by Lawrence Velázquez <[email protected]>. */ |
| 4 | |
| 5 | /* { dg-options "-mmacosx-version-min=10.10.11" } */ |
| 6 | /* { dg-do compile { target *-*-darwin* } } */ |
| 7 | |
| 8 | int |
| 9 | main () |
| 10 | { |
| 11 | #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 101011 |
| 12 | fail me; |
| 13 | #endif |
| 14 | return 0; |
| 15 | } |