blob: c6eca4268bd7945b7824c1aec8da7e59c1bbfd6e [file] [log] [blame]
Stephen Hines651f13c2014-04-23 16:59:28 -07001// RUN: touch %t.pch
2// RUN: %clang -### -verify-pch %t.pch 2> %t.log.1
3// RUN: FileCheck %s < %t.log.1
4// CHECK: -verify-pch
5
6// Also ensure that the language setting is not affected by the .pch extension
7// CHECK-NOT: "-x" "precompiled-header"
8
9// RUN: %clang -### -verify-pch -x objective-c %t.pch 2> %t.log.2
10// RUN: FileCheck -check-prefix=CHECK2 %s < %t.log.2
11// CHECK2: "-x" "objective-c"
12// CHECK2-NOT: "-x" "precompiled-header"