gcc/gcc/testsuite/gcc.dg/no-math-errno-1.c

8 lines
199 B
C

/* Test __NO_MATH_ERRNO__ is defined with -fno-math-errno. */
/* { dg-do compile } */
/* { dg-options "-fno-math-errno" } */
#ifndef __NO_MATH_ERRNO__
#error "__NO_MATH_ERRNO__ not defined"
#endif