summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-19 21:24:46 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-19 21:24:46 +0000
commit31f8ef3c028275b1fedc783dee811f320501b3a7 (patch)
tree0ed2efe05db9556871966c1b923332840f99e2a8 /gcc
parent3c33f9f377d7df74bec6375524d0e6c385ce383a (diff)
downloadgcc-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/ChangeLog3
-rw-r--r--gcc/testsuite/g++.dg/other/error1.C2
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" "" }
}
};