You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
431 B

#define cool
#if defined(cool)
#if defined(really_cool)
#endif // really_cool
#elif defined(hot)
// hot
#endif // trailing comment
#ifndef cool
#ifndef uncool
int probably_hot = 1;
#endif // uncool
#endif // cool
// RUN: env CINDEXTEST_SHOW_SKIPPED_RANGES=1 c-index-test -test-annotate-tokens=%s:1:1:16:1 %s | FileCheck %s
// CHECK: Skipping: [5:1 - 6:7]
// CHECK: Skipping: [8:1 - 12:7]
// CHECK: Skipping: [14:1 - 20:7]