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/comment-custom-block-command.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/test/Index/comment-custom-block-command.cpp') diff --git a/clang/test/Index/comment-custom-block-command.cpp b/clang/test/Index/comment-custom-block-command.cpp index f87cef96e59..bb153dc8780 100644 --- a/clang/test/Index/comment-custom-block-command.cpp +++ b/clang/test/Index/comment-custom-block-command.cpp @@ -5,6 +5,7 @@ // RUN: %clang_cc1 -fcomment-block-commands=CustomCommand -x c++ -std=c++11 -emit-pch -o %t/out.pch %s // RUN: %clang_cc1 -x c++ -std=c++11 -fcomment-block-commands=CustomCommand -include-pch %t/out.pch -fsyntax-only %s +// RUN: c-index-test -write-pch %t/out.pch -fcomment-block-commands=CustomCommand -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 -fcomment-block-commands=CustomCommand > %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