Make TestSymbolDatabase::hasClassFunction's code snippet valid.
This commit is contained in:
parent
9bdeea5642
commit
0222c50d4a
|
@ -814,7 +814,7 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
void hasClassFunction() {
|
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
|
// 3 scopes: Global, Class, and Function
|
||||||
ASSERT(db && db->scopeList.size() == 3);
|
ASSERT(db && db->scopeList.size() == 3);
|
||||||
|
|
Loading…
Reference in New Issue