| Argyrios Kyrtzidis | 6d0753d | 2014-03-14 03:07:38 +0000 | [diff] [blame] | 1 | // 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 | ||||