Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Index / skipped-ranges.c
blobf6c6c7f638ecd472b11cdcaaf6b9d8199f07797a
1 #define cool
3 #if defined(cool)
5 #if defined(really_cool)
6 #endif // really_cool
8 #elif defined(hot)
9 // hot
12 #endif // trailing comment
14 #ifndef cool
15 #ifndef uncool
17 int probably_hot = 1;
19 #endif // uncool
20 #endif // cool
22 // RUN: env CINDEXTEST_SHOW_SKIPPED_RANGES=1 c-index-test -test-annotate-tokens=%s:1:1:16:1 %s | FileCheck %s
23 // CHECK: Skipping: [5:1 - 6:7]
24 // CHECK: Skipping: [8:1 - 12:7]
25 // CHECK: Skipping: [14:1 - 20:7]