ccls/index_tests/preprocessor/skipped.cc

26 lines
242 B
C++
Raw Normal View History

2018-03-31 03:16:33 +00:00
#ifdef FOOBAR
void hello();
#endif
#if false
#endif
#if defined(OS_FOO)
#endif
/*
OUTPUT:
{
"includes": [],
"skipped_by_preprocessor": ["2:1-4:7", "6:1-10:7", "12:1-14:7"],
"usr2func": [],
"usr2type": [],
"usr2var": []
2018-03-31 03:16:33 +00:00
}
*/