Update expected error messages in tests
This commit is contained in:
parent
5fda6d38d2
commit
a7dd6fde7e
@ -25,7 +25,7 @@
|
||||
class MyClass {
|
||||
struct {
|
||||
int a;
|
||||
error_here; // expected-error {{C++ requires a type specifier for all declarations}}
|
||||
error_here; // expected-error {{a type specifier is required for all declarations}}
|
||||
};
|
||||
};
|
||||
.compareState "testMyClass"
|
||||
|
@ -15,5 +15,5 @@
|
||||
|
||||
class MyHeaderFileProtectedClass {};
|
||||
#undef P
|
||||
error_here; // expected-error {{C++ requires a type specifier for all declarations}}
|
||||
error_here; // expected-error {{use of undeclared identifier}}
|
||||
#endif // HEADER_FILE_PROTECTOR
|
||||
|
@ -12,5 +12,5 @@ int f() {
|
||||
return NN+1;
|
||||
}
|
||||
int n = f();
|
||||
error_here; // expected-error {{C++ requires a type specifier for all declarations}}
|
||||
error_here; // expected-error {{use of undeclared identifier}}
|
||||
#endif // HEADER_FILE_PROTECTOR
|
||||
|
@ -24,4 +24,4 @@ int my_funct() {
|
||||
return 10;
|
||||
}
|
||||
|
||||
error_here; // expected-error {{C++ requires a type specifier for all declarations}}
|
||||
error_here; // expected-error {{use of undeclared identifier}}
|
||||
|
Loading…
Reference in New Issue
Block a user