aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-09-12 19:14:36 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-09-12 19:14:36 -0700
commit40b7c2f8d2a28381db12d703dc628fda304a1b89 (patch)
tree665edb1c8e0b19c27f73cf96e54c7c53e18ef482 /gcc
parentcaddffe40d947aea9302625867b0a74ae87257cd (diff)
downloadgcc-40b7c2f8d2a28381db12d703dc628fda304a1b89.zip
gcc-40b7c2f8d2a28381db12d703dc628fda304a1b89.tar.gz
gcc-40b7c2f8d2a28381db12d703dc628fda304a1b89.tar.bz2
* g++.old-deja/g++.other/sizeof3.C: Fix abort declaration.
From-SVN: r87422
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/sizeof3.C2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e26e4c2..71f34e5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-12 Richard Henderson <rth@redhat.com>
+
+ * g++.old-deja/g++.other/sizeof3.C: Fix abort declaration.
+
2004-09-13 Joseph S. Myers <jsm@polyomino.org.uk>
* g++.dg/warn/Wswitch-1.C, g++.dg/warn/Wswitch-2.C,
diff --git a/gcc/testsuite/g++.old-deja/g++.other/sizeof3.C b/gcc/testsuite/g++.old-deja/g++.other/sizeof3.C
index b3f74db..bceb731 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/sizeof3.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/sizeof3.C
@@ -6,7 +6,7 @@
// means things like the rhs of a comma operator mustn't decay. This will make
// a difference if it is an array or function.
-extern void abort();
+extern "C" void abort();
int main (int argc, char **argv)
{