testclass.cpp: fixed compilation (#4927)

This commit is contained in:
Oliver Stöneberg 2023-04-01 19:58:58 +02:00 committed by GitHub
parent 7503aca0e2
commit eb0998dc2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -199,6 +199,7 @@ private:
TEST_CASE(const83);
TEST_CASE(const84);
TEST_CASE(const85);
TEST_CASE(const86);
TEST_CASE(const_handleDefaultParameters);
TEST_CASE(const_passThisToMemberOfOtherClass);
@ -6395,7 +6396,7 @@ private:
ASSERT_EQUALS("", errout.str());
}
void const85() { // #11621
void const86() { // #11621
checkConst("struct S { int* p; };\n"
"struct T { int m; int* p; };\n"
"struct U {\n"