mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 23:55:08 +00:00
20 lines
446 B
C++
20 lines
446 B
C++
static int global = 0;
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"types": [{
|
|
"id": 0,
|
|
"uses": ["tests/vars/global_variable.cc:1:12"]
|
|
}],
|
|
"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
|
|
}]
|
|
}
|
|
*/ |