diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2011-02-20 13:06:31 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2011-02-20 13:06:31 +0000 |
commit | bca07a4524feb4edec581062d631a13116320a24 (patch) | |
tree | a9243275843fbeaa590afc07ee888e006b8d54ea /test/Index/get-cursor-includes.c | |
parent | 998bc5802ecdd65ce3b270f6c69a8ae8557f0a10 (diff) | |
download | src-bca07a4524feb4edec581062d631a13116320a24.tar.gz src-bca07a4524feb4edec581062d631a13116320a24.zip |
Vendor import of clang trunk r126079:vendor/clang/clang-r126079
Notes
Notes:
svn path=/vendor/clang/dist/; revision=218887
svn path=/vendor/clang/clang-r126079/; revision=218888; tag=vendor/clang/clang-r126079
Diffstat (limited to 'test/Index/get-cursor-includes.c')
-rw-r--r-- | test/Index/get-cursor-includes.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Index/get-cursor-includes.c b/test/Index/get-cursor-includes.c new file mode 100644 index 000000000000..68d64f144673 --- /dev/null +++ b/test/Index/get-cursor-includes.c @@ -0,0 +1,7 @@ +#include "get-cursor-includes-2.h" +#include "get-cursor-includes-2.h" + +// RUN: c-index-test -write-pch %t.h.pch -I%S/Inputs -Xclang -detailed-preprocessing-record %S/Inputs/get-cursor-includes-2.h +// RUN: c-index-test -cursor-at=%S/Inputs/get-cursor-includes-2.h:1:5 -I%S/Inputs -include %t.h %s | FileCheck %s + +// CHECK: inclusion directive=get-cursor-includes-1.h |