Update expected error messages in tests

This commit is contained in:
Jonas Hahnfeld 2023-08-08 13:39:49 +02:00 committed by jenkins
parent 5fda6d38d2
commit a7dd6fde7e
4 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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

View File

@ -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

View File

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