Commit 0916f873 by Mark Mitchell Committed by Mark Mitchell

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

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

From-SVN: r76177
parent 9f880ef9
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>
......
......@@ -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" "" }
}
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment