You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
526 B

// Check that -E -M -MF does not cause an "argument unused" error, by adding
// -Werror to the clang invocation. Also check the dependency output, if any.
// RUN: %clang -Werror -E -M -MF %t-M.d %s
// RUN: FileCheck --input-file=%t-M.d %s
// CHECK: pr13851.o:
// CHECK: pr13851.c
// Check that -E -MM -MF does not cause an "argument unused" error, by adding
// -Werror to the clang invocation. Also check the dependency output, if any.
// RUN: %clang -Werror -E -MM -MF %t-MM.d %s
// RUN: FileCheck --input-file=%t-MM.d %s