Debian Codegraph @

gcc/testsuite/g++.dg/warn/Wsystem-headers1a.C

raw
1 // { dg-do compile { target *-*-*gnu } }
2 // { dg-options "-Wsystem-headers" }
3 // { dg-skip-if "requires hosted libstdc++ for stdlib atof" { ! hostedlib } }
4
5 #include <stdlib.h>
6
7 extern double atof (const char *); // { dg-warning "different exception spec" }