ccls/tests/function_declaration.cc

17 lines
249 B
C++

void foo(int a, int b);
/*
OUTPUT:
{
"funcs": [{
"id": 0,
"usr": "c:@F@foo#I#I#",
"short_name": "foo",
"detailed_name": "void foo(int, int)",
"declarations": [{
"spelling": "1:6-1:9"
}]
}]
}
*/