ccls/tests/namespaces/function_definition.cc
2017-12-01 17:07:03 -08:00

19 lines
300 B
C++

namespace hello {
void foo() {}
}
/*
OUTPUT:
{
"funcs": [{
"id": 0,
"is_operator": false,
"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"
}]
}
*/