blob: 537594d28ffbf70eff4dc3ea806058dcc716d69b [file] [log] [blame]
Benjamin Kramer2715fce2012-09-26 19:01:49 +00001// 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