re PR c++/13592 (C++ parser regression)

PR c++/13592
	* g++.dg/other/error1.C (class foo): Tweak error message.

From-SVN: r76177
This commit is contained in:
Mark Mitchell 2004-01-19 21:24:46 +00:00 committed by Mark Mitchell
parent 9f880ef94a
commit 0916f87331
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
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.

View file

@ -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" "" }
}
};