Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/darwin-minversion-10.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR target/63810: Test that an OS X minimum version with zero-padded |
2 minor and tiny numbers less than 10 produces the correct | |
3 four-character macro. */ | |
4 /* Added by Lawrence Velázquez <vq@larryv.me>. */ | |
5 | |
6 /* { dg-options "-mmacosx-version-min=10.07.02" } */ | |
7 /* { dg-do compile { target *-*-darwin* } } */ | |
8 | |
9 int | |
10 main () | |
11 { | |
12 #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1072 | |
13 fail me; | |
14 #endif | |
15 return 0; | |
16 } |