ccls/index_tests/preprocessor/skipped.cc

26 lines
233 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": [],
2018-07-07 23:56:47 +00:00
"skipped_ranges": ["2:1-5:1", "6:1-11:1", "12:1-15:1"],
"usr2func": [],
"usr2type": [],
"usr2var": []
2018-03-31 03:16:33 +00:00
}
*/