ccls/tests/vars/global_variable.cc
2017-12-11 21:15:37 -08:00

22 lines
427 B
C++

static int global = 0;
/*
OUTPUT:
{
"includes": [],
"skipped_by_preprocessor": [],
"types": [],
"funcs": [],
"vars": [{
"id": 0,
"usr": "c:global_variable.cc@global",
"short_name": "global",
"detailed_name": "int global",
"definition_spelling": "1:12-1:18",
"definition_extent": "1:1-1:22",
"is_local": false,
"is_macro": false,
"uses": ["1:12-1:18"]
}]
}
*/