13 lines · plain
1// RUN: touch %t.pch2// RUN: %clang -### -verify-pch %t.pch 2> %t.log.13// RUN: FileCheck %s < %t.log.14// CHECK: -verify-pch5 6// Also ensure that the language setting is not affected by the .pch extension7// CHECK-NOT: "-x" "precompiled-header"8 9// RUN: %clang -### -verify-pch -x objective-c %t.pch 2> %t.log.210// RUN: FileCheck -check-prefix=CHECK2 %s < %t.log.211// CHECK2: "-x" "objective-c"12// CHECK2-NOT: "-x" "precompiled-header"13