Home | History | Annotate | Download | only in Index
      1 #define cool
      2 
      3 #if defined(cool)
      4 
      5 #if defined(really_cool)
      6 #endif // really_cool
      7 
      8 #elif defined(hot)
      9 // hot
     10 
     11 
     12 #endif // trailing comment
     13 
     14 #ifndef cool
     15 #ifndef uncool
     16 
     17 int probably_hot = 1;
     18 
     19 #endif // uncool
     20 #endif // cool
     21 
     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:2 - 6:7]
     24 // CHECK: Skipping: [8:2 - 12:7]
     25 // CHECK: Skipping: [14:2 - 20:7]
     26