pr13851.c 526 B

1234567891011
  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
  7. // Check that -E -MM -MF does not cause an "argument unused" error, by adding
  8. // -Werror to the clang invocation. Also check the dependency output, if any.
  9. // RUN: %clang -Werror -E -MM -MF %t-MM.d %s
  10. // RUN: FileCheck --input-file=%t-MM.d %s