view gcc/testsuite/gcc.dg/darwin-minversion-11.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

/* PR target/63810: Test that an OS X minimum version with outrageous
   zero-padding and a minor number greater than 9 still produces
   a six-character macro.  */
/* Added by Lawrence Velázquez <vq@larryv.me>.  */

/* { dg-options "-mmacosx-version-min=00010.010.0000098" } */
/* { dg-do compile { target *-*-darwin* } } */

int
main ()
{
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 101098
  fail me;
#endif
  return 0;
}