ccls/tests/vars/global_variable.cc

20 lines
446 B
C++
Raw Normal View History

2017-02-18 21:18:08 +00:00
static int global = 0;
2017-02-18 19:37:24 +00:00
/*
OUTPUT:
{
2017-02-18 21:18:08 +00:00
"types": [{
2017-02-19 00:53:31 +00:00
"id": 0,
"uses": ["tests/vars/global_variable.cc:1:12"]
2017-02-18 21:18:08 +00:00
}],
"functions": [],
"variables": [{
"id": 0,
2017-02-18 23:58:40 +00:00
"usr": "c:global_variable.cc@global",
2017-02-18 21:18:08 +00:00
"short_name": "global",
"qualified_name": "global",
"declaration": "tests/vars/global_variable.cc:1:12",
"initializations": ["tests/vars/global_variable.cc:1:12"],
2017-02-18 23:58:40 +00:00
"variable_type": 0
2017-02-18 21:18:08 +00:00
}]
2017-02-18 19:37:24 +00:00
}
*/