ccls/tests/namespaces/function_declaration.cc
2017-02-20 20:05:03 -08:00

19 lines
297 B
C++

namespace hello {
void foo(int a, int b);
}
/*
OUTPUT:
{
"types": [],
"functions": [{
"id": 0,
"usr": "c:@N@hello@F@foo#I#I#",
"short_name": "foo",
"qualified_name": "hello::foo",
"declaration": "1:2:6",
"all_uses": ["1:2:6"]
}],
"variables": []
}
*/