Removed test case with unused templates

This commit is contained in:
Daniel Marjamäki 2019-05-05 19:15:42 +02:00
parent c997186794
commit 9947774ab7
1 changed files with 0 additions and 21 deletions

View File

@ -294,7 +294,6 @@ private:
TEST_CASE(symboldatabase70);
TEST_CASE(symboldatabase71);
TEST_CASE(symboldatabase72); // #8600
TEST_CASE(symboldatabase73); // #8603
TEST_CASE(symboldatabase74); // #8838 - final
TEST_CASE(symboldatabase75);
TEST_CASE(symboldatabase76); // #9056
@ -4161,26 +4160,6 @@ private:
ASSERT(f && f->function() && f->function()->type == Function::eCopyConstructor);
}
void symboldatabase73() { // #8603
GET_SYMBOL_DB("namespace swizzle {\n"
" template <comp> void swizzle(tvec2<f16>) {}\n"
" template <comp x, comp y> void swizzle(tvec2<f16> v) {}\n"
"}");
ASSERT_EQUALS(4, db->scopeList.size());
ASSERT_EQUALS(2, db->functionScopes.size());
const Scope *f1 = db->functionScopes[0];
ASSERT_EQUALS(2, f1->bodyStart->linenr());
ASSERT_EQUALS(2, f1->bodyEnd->linenr());
ASSERT_EQUALS(2, f1->function->token->linenr());
const Scope *f2 = db->functionScopes[1];
ASSERT_EQUALS(3, f2->bodyStart->linenr());
ASSERT_EQUALS(3, f2->bodyEnd->linenr());
ASSERT_EQUALS(3, f2->function->token->linenr());
}
void symboldatabase74() { // #8838 - final
GET_SYMBOL_DB("class Base { virtual int f() const = 0; };\n"
"class Derived : Base { virtual int f() const final { return 6; } };");