ccls/tests/function_declaration_definition.cc
Jacob Dufault a8cdadc201 wip
2017-02-18 15:58:40 -08:00

19 lines
339 B
C++

void foo();
void foo() {}
/*
OUTPUT:
{
"types": [],
"functions": [{
"id": 0,
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"declaration": "tests/function_declaration_definition.cc:1:6",
"definition": "tests/function_declaration_definition.cc:3:6"
}],
"variables": []
}
*/