ccls/tests/namespaces/function_definition.cc

18 lines
272 B
C++

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