From 819f9ffe855029626040b1a09bdfefbf61cbd9a6 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Wed, 5 Aug 2015 17:23:59 +0000 Subject: [test/Index] Update libclang tests to use libclang for creating PCH files. This is consistent and tests the primary configuration we want to test, libclang creating and consuming PCH files. llvm-svn: 244066 --- clang/test/Index/annotate-comments.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/test/Index/annotate-comments.cpp') diff --git a/clang/test/Index/annotate-comments.cpp b/clang/test/Index/annotate-comments.cpp index 6612a44792e..6f9f8f0bbbc 100644 --- a/clang/test/Index/annotate-comments.cpp +++ b/clang/test/Index/annotate-comments.cpp @@ -263,6 +263,7 @@ void isdoxy54(int); // RUN: %clang_cc1 -x c++ -std=c++11 -emit-pch -o %t/out.pch %s // RUN: %clang_cc1 -x c++ -std=c++11 -include-pch %t/out.pch -fsyntax-only %s +// RUN: c-index-test -write-pch %t/out.pch -x c++ -std=c++11 %s // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s -std=c++11 > %t/out.c-index-direct // RUN: c-index-test -test-load-tu %t/out.pch all > %t/out.c-index-pch -- cgit v1.2.3