ccls/tests/namespaces/function_declaration.cc
2017-02-20 21:34:46 -08:00

19 lines
293 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",
"uses": ["1:2:6"]
}],
"variables": []
}
*/