ccls/tests/namespaces/function_definition.cc
2017-02-20 21:34:46 -08:00

19 lines
278 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",
"uses": ["1:2:6"]
}],
"variables": []
}
*/