From: Mark Mitchell Date: Mon, 19 Jan 2004 21:24:46 +0000 (+0000) Subject: re PR c++/13592 (C++ parser regression) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0916f87331e015fa7851354dd96180543f1934d6;p=gcc.git re PR c++/13592 (C++ parser regression) PR c++/13592 * g++.dg/other/error1.C (class foo): Tweak error message. From-SVN: r76177 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a473f27af29..75713913298 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2004-01-19 Mark Mitchell + PR c++/13592 + * g++.dg/other/error1.C (class foo): Tweak error message. + PR c++/13592 * g++.dg/template/call2.C: New test. diff --git a/gcc/testsuite/g++.dg/other/error1.C b/gcc/testsuite/g++.dg/other/error1.C index a55fcc60cf6..927efef8bbb 100644 --- a/gcc/testsuite/g++.dg/other/error1.C +++ b/gcc/testsuite/g++.dg/other/error1.C @@ -10,6 +10,6 @@ class foo { int fudge[40]; int bar [40]; inline int access(int i) { - return bar(i); // { dg-error "call to non-function `foo::bar'" "" } + return bar(i); // { dg-error "cannot be used as a function" "" } } };