blob: 30486364cd4b78b7553891bde0ac15d662f73a42 [file] [log] [blame]
Argyrios Kyrtzidis6d0753d2014-03-14 03:07:38 +00001// RUN: %clang -x c-header %s -o %t.pch -MMD -MT dependencies -MF %t.d -### 2> %t
2// RUN: FileCheck %s -input-file=%t
3// CHECK: -emit-pch
4// CHECK: -dependency-file
5// CHECK: -module-file-deps
6
7// RUN: %clang -c %s -o %t -MMD -MT dependencies -MF %t.d -### 2> %t
8// RUN: FileCheck %s -check-prefix=CHECK-NOPCH -input-file=%t
9// CHECK-NOPCH: -dependency-file
10// CHECK-NOPCH-NOT: -module-file-deps