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