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:
parent
9f880ef94a
commit
0916f87331
2 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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" "" }
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue