ccls/tests/preprocessor/include_guard.cc
2017-06-28 23:28:29 -07:00

22 lines
347 B
C++

#ifndef FOO
#define FOO
#endif
/*
OUTPUT:
{
"vars": [{
"id": 0,
"usr": "c:include_guard.cc@21@macro@FOO",
"short_name": "FOO",
"detailed_name": "FOO",
"definition_spelling": "2:9-2:12",
"definition_extent": "2:9-2:12",
"is_local": false,
"is_macro": true,
"uses": ["2:9-2:12"]
}]
}
*/