Skip to content

Commit c8543a1

Browse files
Fix test
1 parent 1ad2f49 commit c8543a1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/testvarid.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2382,11 +2382,11 @@ class TestVarID : public TestFixture {
23822382
}
23832383

23842384
void varid_in_class29() {
2385-
const char code[] = "struct S {\n"
2385+
const char code[] = "struct S {\n" // #14486
23862386
" const int& r;\n"
23872387
" explicit S(const int& r) : r(r) {}\n"
23882388
" static void f() {\n"
2389-
" struct T : X {\n"
2389+
" struct T : std::vector<int> {\n"
23902390
" bool g() const { return empty(); }\n"
23912391
" };\n"
23922392
" }\n"
@@ -2395,7 +2395,7 @@ class TestVarID : public TestFixture {
23952395
"2: const int & r@1 ;\n"
23962396
"3: explicit S ( const int & r@2 ) : r@1 ( r@2 ) { }\n"
23972397
"4: static void f ( ) {\n"
2398-
"5: struct T : X {\n"
2398+
"5: struct T : std :: vector < int > {\n"
23992399
"6: bool g ( ) const { return empty ( ) ; }\n"
24002400
"7: } ;\n"
24012401
"8: }\n"

0 commit comments

Comments
 (0)