ccls/tests/namespaces/function_definition.cc
2017-04-05 01:29:15 -07:00

19 lines
293 B
C++

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