ccls/index_tests/vars/global_variable_decl_only.cc
2018-03-30 22:02:26 -07:00

36 lines
640 B
C++

extern int global;
/*
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": 9937941849651546906,
"detailed_name": "int global",
"short_name": "global",
"declarations": ["1:12-1:18|-1|1|1"],
"type": 0,
"uses": [],
"kind": 13,
"storage": 2
}]
}
*/