fix placement of the errors

From-SVN: r24412
This commit is contained in:
Brendan Kehoe 1998-12-23 12:02:02 -05:00
parent a1e27b76d4
commit 90352f7294
2 changed files with 5 additions and 5 deletions

View File

@ -12,10 +12,10 @@ enum enum0 { enum0_value_0 };
struct struct0 {
int enum0;
void member_function (enum0 e); // ERROR -
void member_function (enum0 e); // ERROR - invalid use of struct-local member
};
void class0::member_function (enum0 e) { // ERROR -
void class0::member_function (enum0 e) { // ERROR - syntax error
}
int main () { return 0; }

View File

@ -10,7 +10,7 @@ class class0;
struct struct1 {
int class0;
void member_function (class0 *); // ERROR -
void member_function (class0 *); // ERROR - invalid use of struct-local member
};
void class1::member_function (class0 *p) { // ERROR -