ccls/tests/namespaces/function_definition.cc
2017-03-07 10:18:01 -08:00

18 lines
241 B
C++

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