ccls/tests/vars/global_variable_decl_only.cc

16 lines
256 B
C++
Raw Normal View History

2017-02-18 21:18:08 +00:00
extern int global;
2017-02-18 19:37:24 +00:00
/*
OUTPUT:
{
2017-02-19 02:03:13 +00:00
"types": [],
2017-02-18 21:18:08 +00:00
"functions": [],
"variables": [{
"id": 0,
2017-02-18 23:58:40 +00:00
"usr": "c:@global",
2017-02-18 21:18:08 +00:00
"short_name": "global",
"qualified_name": "global",
2017-02-21 04:05:03 +00:00
"declaration": "1:1:12",
2017-02-21 05:34:46 +00:00
"uses": ["1:1:12"]
2017-02-18 21:18:08 +00:00
}]
2017-02-18 19:37:24 +00:00
}
*/