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/testsuite/g++.dg/other | |
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/testsuite/g++.dg/other')
-rw-r--r-- | gcc/testsuite/g++.dg/other/error1.C | 2 |
1 files changed, 1 insertions, 1 deletions
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" "" } } }; |