Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/darwin-minversion-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* Basic test for -mmacosx-version-min switch on Darwin. */ | |
2 /* { dg-options "-mmacosx-version-min=10.5" } */ | |
3 /* { dg-do run { target *-*-darwin* } } */ | |
4 | |
5 int | |
6 main () | |
7 { | |
8 #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1050 | |
9 fail me; | |
10 #endif | |
11 return 0; | |
12 } |