| 1 |
// Check that -E -M -MF does not cause an "argument unused" error, by adding |
| 2 |
// -Werror to the clang invocation. Also check the dependency output, if any. |
| 3 |
// RUN: %clang -Werror -E -M -MF %t-M.d %s |
| 4 |
// RUN: FileCheck --input-file=%t-M.d %s |
| 5 |
// CHECK: pr13851.o: |
| 6 |
// CHECK: pr13851.c |
| 7 |
|
| 8 |
// Check that -E -MM -MF does not cause an "argument unused" error, by adding |
| 9 |
// -Werror to the clang invocation. Also check the dependency output, if any. |
| 10 |
// RUN: %clang -Werror -E -MM -MF %t-MM.d %s |
| 11 |
// RUN: FileCheck --input-file=%t-MM.d %s |