24 lines · plain
1#include "getcursor-preamble.h"2 3// RUN: c-index-test \4// RUN: -cursor-at=%S/getcursor-preamble.h:2:10 \5// RUN: -cursor-at=%S/getcursor-preamble.h:3:9 \6// RUN: -cursor-at=%S/getcursor-preamble.h:4:6 \7// RUN: -cursor-at=%S/getcursor-preamble.h:5:8 \8// RUN: -cursor-at=%S/getcursor-preamble.h:7:7 \9// RUN: %s | FileCheck %s10 11// RUN: env CINDEXTEST_EDITING=1 c-index-test \12// RUN: -cursor-at=%S/getcursor-preamble.h:2:10 \13// RUN: -cursor-at=%S/getcursor-preamble.h:3:9 \14// RUN: -cursor-at=%S/getcursor-preamble.h:4:6 \15// RUN: -cursor-at=%S/getcursor-preamble.h:5:8 \16// RUN: -cursor-at=%S/getcursor-preamble.h:7:7 \17// RUN: %s | FileCheck %s18 19// CHECK: StructDecl=AA:2:1020// CHECK: FieldDecl=x:3:921// CHECK: ObjCIvarDecl=aa:4:522// CHECK: ObjCIvarDecl=var:5:723// CHECK: ObjCInstanceMethodDecl=foo:7:624