The semantics of an empty basename passed to isDerivedFrom matchers
changed in r367022, so this test is no longer relevant.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367026
91177308-0d34-0410-b5e6-
96231b3b80d8
EXPECT_TRUE(notMatches("class X {};", HasEmptyName));
}, "");
}
-
-TEST(IsDerivedFromDeathTest, DiesOnEmptyBaseName) {
- ASSERT_DEBUG_DEATH({
- DeclarationMatcher IsDerivedFromEmpty = cxxRecordDecl(isDerivedFrom(""));
- EXPECT_TRUE(notMatches("class X {};", IsDerivedFromEmpty));
- }, "");
-}
#endif
TEST(ConstructVariadic, MismatchedTypes_Regression) {