ccls/tests/namespaces/function_definition.cc
2017-02-20 16:25:00 -08:00

19 lines
284 B
C++

namespace hello {
void foo() {}
}
/*
OUTPUT:
{
"types": [],
"functions": [{
"id": 0,
"usr": "c:@N@hello@F@foo#",
"short_name": "foo",
"qualified_name": "hello::foo",
"definition": "*1:2:6",
"all_uses": ["*1:2:6"]
}],
"variables": []
}
*/