Skip to content

Commit cee91b5

Browse files
committed
fix test failures
1 parent f02f1f2 commit cee91b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/unittests/AST/ASTImporterTest.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10025,7 +10025,8 @@ struct ImportTemplateParmDeclDefaultValue
1002510025
EXPECT_EQ(ToD->getPreviousDecl(), ToDInherited);
1002610026
} else {
1002710027
EXPECT_EQ(FromD, FromDInherited->getPreviousDecl());
10028-
EXPECT_EQ(ToD, ToDInherited->getPreviousDecl());
10028+
// The order is reversed by the import process.
10029+
EXPECT_EQ(ToD->getPreviousDecl(), ToDInherited);
1002910030
}
1003010031
}
1003110032

0 commit comments

Comments
 (0)