diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-19 21:24:46 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-19 21:24:46 +0000 |
commit | 31f8ef3c028275b1fedc783dee811f320501b3a7 (patch) | |
tree | 0ed2efe05db9556871966c1b923332840f99e2a8 /gcc | |
parent | 3c33f9f377d7df74bec6375524d0e6c385ce383a (diff) | |
download | gcc-31f8ef3c028275b1fedc783dee811f320501b3a7.tar.gz |
PR c++/13592
* g++.dg/other/error1.C (class foo): Tweak error message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76177 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/other/error1.C | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a473f27af29..75713913298 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,6 +1,9 @@ 2004-01-19 Mark Mitchell <mark@codesourcery.com> PR c++/13592 + * g++.dg/other/error1.C (class foo): Tweak error message. + + PR c++/13592 * g++.dg/template/call2.C: New test. 2004-01-19 Eric Botcazou <ebotcazou@libertysurf.fr> 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" "" } } }; |