]> granicus.if.org Git - clang/commitdiff
Also test that the pch file is not printed in /showIncludes
authorNico Weber <nicolasweber@gmx.de>
Sun, 13 Mar 2016 03:04:46 +0000 (03:04 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sun, 13 Mar 2016 03:04:46 +0000 (03:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263355 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/cl-pch-showincludes.cpp

index 073710ac17cfb25d9e975ed2881c0ff9378040bf..dd7807546c052d522345dc5044633b675783d8b6 100644 (file)
@@ -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}}