ccls/index_tests/vars/global_variable.cc
2019-10-23 21:56:50 -07:00

39 lines
729 B
C++

static int global = 0;
/*
OUTPUT:
{
"includes": [],
"skipped_by_preprocessor": [],
"types": [{
"id": 0,
"usr": 17,
"detailed_name": "",
"short_name": "",
"kind": 0,
"declarations": [],
"bases": [],
"derived": [],
"types": [],
"funcs": [],
"vars": [],
"instances": [0],
"uses": []
}],
"funcs": [],
"vars": [{
"id": 0,
"usr": 6834525061342585382,
"detailed_name": "int global",
"short_name": "global",
"hover": "int global = 0",
"declarations": [],
"spell": "1:12-1:18|-1|1|2",
"extent": "1:1-1:22|-1|1|0",
"type": 0,
"uses": [],
"kind": 13,
"storage": 3
}]
}
*/