Make TestSymbolDatabase::hasClassFunction's code snippet valid.

This commit is contained in:
Simon Martin 2014-09-20 14:51:58 +02:00
parent 9bdeea5642
commit 0222c50d4a
1 changed files with 1 additions and 1 deletions

View File

@ -814,7 +814,7 @@ private:
}
void hasClassFunction() {
GET_SYMBOL_DB("class Fred { void func(); }; Fred::func() { }\n")
GET_SYMBOL_DB("class Fred { void func(); }; void Fred::func() { }\n")
// 3 scopes: Global, Class, and Function
ASSERT(db && db->scopeList.size() == 3);