Skip to content

Commit 65f11ed

Browse files
committed
fixup! fix test
1 parent 34c5c51 commit 65f11ed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clang/unittests/AST/NamedDeclPrinterTest.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,14 @@ TEST(NamedDeclPrinter, NestedNameSpecifierAnonymousTags) {
283283
const char *Code =
284284
R"(
285285
struct Foo {
286-
struct {
286+
class {
287+
public:
287288
struct {
288289
void method();
289290
} i;
290291
};
291292
};
292293
)";
293294
ASSERT_TRUE(PrintedNestedNameSpecifierMatches(
294-
Code, "method", "Foo::(anonymous)::(unnamed)::"));
295+
Code, "method", "Foo::(anonymous class)::(unnamed struct)::"));
295296
}

0 commit comments

Comments
 (0)