ccls/tests/namespaces/anonymous_function.cc
2017-05-27 18:53:22 -07:00

21 lines
332 B
C++

namespace {
void foo();
}
/*
OUTPUT:
{
"funcs": [{
"id": 0,
"usr": "c:anonymous_function.cc@aN@F@foo#",
"short_name": "foo",
"detailed_name": "void ::foo()",
"declarations": [{
"spelling": "2:6-2:9",
"extent": "2:1-2:11",
"content": "void foo()"
}]
}]
}
*/