12 lines · c
1// Check that -E -M -MF does not cause an "argument unused" error, by adding2// -Werror to the clang invocation. Also check the dependency output, if any.3// RUN: %clang -Werror -E -M -MF %t-M.d %s4// RUN: FileCheck --input-file=%t-M.d %s5// CHECK: pr13851.o:6// CHECK: pr13851.c7 8// Check that -E -MM -MF does not cause an "argument unused" error, by adding9// -Werror to the clang invocation. Also check the dependency output, if any.10// RUN: %clang -Werror -E -MM -MF %t-MM.d %s11// RUN: FileCheck --input-file=%t-MM.d %s12