Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / warn / Wsystem-headers1a.C
blobc44d6a91c20ef2a93bc1613416408d3f0e5b3557
1 // { dg-do compile { target *-*-*gnu } }
2 // { dg-options "-Wsystem-headers" }
3 // { dg-skip-if "requires hosted libstdc++ for stdlib atof" { ! hostedlib } }
5 #include <stdlib.h>
7 extern double atof (const char *); // { dg-warning "different exception spec" }