aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2008-02-10 04:58:03 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2008-02-10 04:58:03 +0000
commit68812e373cf46619a0ed7134d8576afd6d339682 (patch)
tree62b5ac4c591000abde4468f955d49c8bc68388c8 /gcc
parentc56b5dc8003bef298222719b29afefde0634af95 (diff)
downloadgcc-68812e373cf46619a0ed7134d8576afd6d339682.zip
gcc-68812e373cf46619a0ed7134d8576afd6d339682.tar.gz
gcc-68812e373cf46619a0ed7134d8576afd6d339682.tar.bz2
re PR objc++/34193 (FAIL: obj-c++.dg/gnu-runtime-2.mm (test for excess errors))
PR objc++/34193 * obj-c++.dg/gnu-runtime-2.mm: Fix signature of function main(). From-SVN: r132211
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/obj-c++.dg/gnu-runtime-2.mm2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index aedc9a3..7aba2a3 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ PR objc++/34193
+ * obj-c++.dg/gnu-runtime-2.mm: Fix signature of function main().
+
2008-02-06 Alexandre Oliva <aoliva@redhat.com>
PR c++/35056
diff --git a/gcc/testsuite/obj-c++.dg/gnu-runtime-2.mm b/gcc/testsuite/obj-c++.dg/gnu-runtime-2.mm
index 2ead288..e6a1d18 100644
--- a/gcc/testsuite/obj-c++.dg/gnu-runtime-2.mm
+++ b/gcc/testsuite/obj-c++.dg/gnu-runtime-2.mm
@@ -22,7 +22,7 @@
-(unsigned int) length { return len; }
@end
-int main(int argc, void **args)
+int main(int argc, const char **args)
{
if (strcmp ([@"this is a string" cString], "this is a string"))
abort ();