Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/darwin-minversion-12.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR target/63810: Test that an OS X minimum version with outrageous zero-padding and a minor number less than 10 still produces a four-character macro. */ /* Added by Lawrence Velázquez <vq@larryv.me>. */ /* { dg-options "-mmacosx-version-min=010.008.000031" } */ /* { dg-do compile { target *-*-darwin* } } */ int main () { #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1089 fail me; #endif return 0; }