File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 "
You can’t perform that action at this time.
0 commit comments