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