2 // RUN: %clang -### -verify-pch %t.pch 2> %t.log.1
3 // RUN: FileCheck %s < %t.log.1
6 // Also ensure that the language setting is not affected by the .pch extension
7 // CHECK-NOT: "-x" "precompiled-header"
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"