2013-01-30 02:00:54 +08:00
|
|
|
#include "getcursor-preamble.h"
|
|
|
|
|
2013-01-30 07:03:22 +08:00
|
|
|
// RUN: c-index-test \
|
|
|
|
// RUN: -cursor-at=%S/getcursor-preamble.h:2:10 \
|
2013-01-30 02:00:54 +08:00
|
|
|
// RUN: -cursor-at=%S/getcursor-preamble.h:3:9 \
|
|
|
|
// RUN: -cursor-at=%S/getcursor-preamble.h:4:6 \
|
|
|
|
// RUN: -cursor-at=%S/getcursor-preamble.h:5:8 \
|
|
|
|
// RUN: -cursor-at=%S/getcursor-preamble.h:7:7 \
|
|
|
|
// RUN: %s | FileCheck %s
|
|
|
|
|
2013-01-30 07:03:16 +08:00
|
|
|
// RUN: env CINDEXTEST_EDITING=1 c-index-test \
|
|
|
|
// RUN: -cursor-at=%S/getcursor-preamble.h:2:10 \
|
2013-01-30 02:00:54 +08:00
|
|
|
// RUN: -cursor-at=%S/getcursor-preamble.h:3:9 \
|
|
|
|
// RUN: -cursor-at=%S/getcursor-preamble.h:4:6 \
|
|
|
|
// RUN: -cursor-at=%S/getcursor-preamble.h:5:8 \
|
|
|
|
// RUN: -cursor-at=%S/getcursor-preamble.h:7:7 \
|
|
|
|
// RUN: %s | FileCheck %s
|
|
|
|
|
|
|
|
// CHECK: StructDecl=AA:2:10
|
|
|
|
// CHECK: FieldDecl=x:3:9
|
|
|
|
// CHECK: ObjCIvarDecl=aa:4:5
|
|
|
|
// CHECK: ObjCIvarDecl=var:5:7
|
|
|
|
// CHECK: ObjCInstanceMethodDecl=foo:7:6
|