mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-26 17:41:58 +00:00
19 lines
392 B
C++
19 lines
392 B
C++
static int global = 0;
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"types": [{
|
|
"id": 0
|
|
}],
|
|
"functions": [],
|
|
"variables": [{
|
|
"id": 0,
|
|
"usr": "c:global_variable.cc@global",
|
|
"short_name": "global",
|
|
"qualified_name": "global",
|
|
"declaration": "tests/vars/global_variable.cc:1:12",
|
|
"initializations": ["tests/vars/global_variable.cc:1:12"],
|
|
"variable_type": 0
|
|
}]
|
|
}
|
|
*/ |