ccls/tests/namespaces/function_definition.cc
Jacob Dufault 46cec6f083 wip
2017-02-18 13:18:08 -08:00

25 lines
435 B
C++

namespace hello {
void foo() {}
}
/*
OUTPUT:
{
"types": [],
"functions": [{
"id": 0,
"short_name": "foo",
"qualified_name": "hello::foo",
"declaration": null,
"definition": "tests/namespaces/function_definition.cc:2:6",
"declaring_type": null,
"base": null,
"derived": [],
"locals": [],
"callers": [],
"callees": [],
"uses": []
}],
"variables": []
}
*/