ccls/index_tests/preprocessor/include_guard.cc
Fangrui Song 6c8fee4141 .
2018-03-31 09:47:27 -07:00

28 lines
440 B
C++

#ifndef FOO
#define FOO
#endif
/*
OUTPUT:
{
"includes": [],
"skipped_by_preprocessor": [],
"types": [],
"funcs": [],
"vars": [{
"id": 0,
"usr": 11674328179498211370,
"detailed_name": "FOO",
"short_name": "FOO",
"hover": "#define FOO",
"declarations": [],
"spell": "2:9-2:12|-1|1|2",
"extent": "2:9-2:12|-1|1|0",
"uses": [],
"kind": 255,
"storage": 0
}]
}
*/