Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Preprocessor / pr13851.c
blob537594d28ffbf70eff4dc3ea806058dcc716d69b
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
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