1// Test without PCH 2// RUN: c-index-test -cursor-at=%S/get-cursor-macro-args.h:9:12 \ 3// RUN: -cursor-at=%S/get-cursor-macro-args.h:9:21 \ 4// RUN: -cursor-at=%S/get-cursor-macro-args.h:15:12 \ 5// RUN: -cursor-at=%S/get-cursor-macro-args.h:15:20 \ 6// RUN: %s -include get-cursor-macro-args.h | FileCheck %s 7 8// Test with PCH 9// RUN: c-index-test -write-pch %t.pch -x objective-c-header %S/get-cursor-macro-args.h 10// RUN: c-index-test -cursor-at=%S/get-cursor-macro-args.h:9:12 \ 11// RUN: -cursor-at=%S/get-cursor-macro-args.h:9:21 \ 12// RUN: -cursor-at=%S/get-cursor-macro-args.h:15:12 \ 13// RUN: -cursor-at=%S/get-cursor-macro-args.h:15:20 \ 14// RUN: %s -include-pch %t.pch | FileCheck %s 15 16// CHECK: ObjCClassRef=MyClass:1:12 17// CHECK-NEXT: ObjCMessageExpr=meth:2:8 18// CHECK-NEXT: ObjCMessageExpr=meth:2:8 19// CHECK-NEXT: ObjCClassRef=MyClass:1:12 20