diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6083654ab0b6634e745459091fb48f2f003a080e..859a5e9b81256247d933a7708b25e3b0d8a4284e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-16  Jakub Jelinek  <jakub@redhat.com>
+
+	* obj-c++.dg/defs.mm (abort): Make it extern "C".
+
 2009-07-15  Jakub Jelinek  <jakub@redhat.com>
 
 	PR middle-end/40747
diff --git a/gcc/testsuite/obj-c++.dg/defs.mm b/gcc/testsuite/obj-c++.dg/defs.mm
index 3027985ed0c98e6f5e521f2c0d3d31678ba5a437..8b67aab4b9ad2d343653d9fed3440b6e671f8a23 100644
--- a/gcc/testsuite/obj-c++.dg/defs.mm
+++ b/gcc/testsuite/obj-c++.dg/defs.mm
@@ -8,7 +8,7 @@
 #include <objc/objc.h>
 #include <objc/Object.h>
 
-extern void abort(void);
+extern "C" void abort(void);
 
 @interface A : Object
 {