diff options
Diffstat (limited to 'test/Index/c-index-pch.c')
-rw-r--r-- | test/Index/c-index-pch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Index/c-index-pch.c b/test/Index/c-index-pch.c index aae4eb3..1ce1085 100644 --- a/test/Index/c-index-pch.c +++ b/test/Index/c-index-pch.c @@ -1,7 +1,7 @@ -// RUN: clang-cc -emit-pch -x c -o %t.pch %S/c-index-pch.h && -// RUN: clang-cc -include-pch %t.pch -x c -emit-pch -o %t.ast %s && -// RUN: c-index-test %t.ast all | FileCheck -check-prefix=ALL %s && -// RUN: c-index-test %t.ast local | FileCheck -check-prefix=LOCAL %s +// RUN: clang-cc -emit-pch -x c -o %t.pch %S/Inputs/c-index-pch.h +// RUN: clang-cc -include-pch %t.pch -x c -emit-pch -o %t.ast %s +// RUN: c-index-test -test-load-tu %t.ast all | FileCheck -check-prefix=ALL %s +// RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=LOCAL %s // ALL: FunctionDecl=foo // ALL: VarDecl=bar // ALL: FunctionDecl=wibble |