Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/darwin-version-1.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Basic test of the -mmacosx-version-min option. */ /* Darwin4 corresponds to MacOS 10.0. */ /* { dg-options "-mmacosx-version-min=10.1" { target *-*-darwin[456789]* } } */ /* Later Darwin linkers decline to link for less than Darwin8/MacOS 10.4. However, we need to make the link for 10.6 because the relevant libgcc_s shim files for 10.4 and 10.5 are also not installed in later SDKs. */ /* { dg-options "-mmacosx-version-min=10.6" { target *-*-darwin[123]* } } */ /* { dg-do link { target *-*-darwin* } } */ int main() { return 0; }