From: Nico Weber Date: Sun, 13 Mar 2016 03:04:46 +0000 (+0000) Subject: Also test that the pch file is not printed in /showIncludes X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0599a16c6219e74129dc17e2f2f3538a6ce0f7d6;p=clang Also test that the pch file is not printed in /showIncludes git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263355 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/cl-pch-showincludes.cpp b/test/Driver/cl-pch-showincludes.cpp index 073710ac17..dd7807546c 100644 --- a/test/Driver/cl-pch-showincludes.cpp +++ b/test/Driver/cl-pch-showincludes.cpp @@ -16,6 +16,7 @@ // When using the pch, only the direct include is printed. // RUN: %clang_cl -Werror /showIncludes /I%S/Inputs /Yuheader2.h /FIheader2.h /Fp%t.pch /c -- %s 2>&1 \ // RUN: | FileCheck -check-prefix=CHECK-YU %s +// CHECK-YU-NOT: Note: including file: {{.*pch}} // CHECK-YU-NOT: Note: including file: {{.*header1.h}} // CHECK-YU-NOT: Note: including file: {{.*header2.h}} // CHECK-YU: Note: including file: {{.+header3.h}}