aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2015-06-02 13:50:18 -0400
committerJason Merrill <jason@gcc.gnu.org>2015-06-02 13:50:18 -0400
commit5e9ad4c687677cbb52b823c4d1c99dff49c30556 (patch)
treed9b15647eeb9a2603042365cee4ca1f691bdfb92
parent5d58db82b01c8c93ebe81257f7eca71098fad03b (diff)
downloadgcc-5e9ad4c687677cbb52b823c4d1c99dff49c30556.zip
gcc-5e9ad4c687677cbb52b823c4d1c99dff49c30556.tar.gz
gcc-5e9ad4c687677cbb52b823c4d1c99dff49c30556.tar.bz2
* g++.dg/warn/Wsystem-headers1.C: Use extern "C".
From-SVN: r224038
-rw-r--r--gcc/testsuite/g++.dg/warn/Wsystem-headers1.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/warn/Wsystem-headers1.C b/gcc/testsuite/g++.dg/warn/Wsystem-headers1.C
index ac5c30d..c927b36 100644
--- a/gcc/testsuite/g++.dg/warn/Wsystem-headers1.C
+++ b/gcc/testsuite/g++.dg/warn/Wsystem-headers1.C
@@ -1,3 +1,3 @@
#include <stdlib.h>
-extern double atof (const char *);
+extern "C" double atof (const char *);