minix/external/bsd/llvm/dist/clang/test/Preprocessor/pr13851.c
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

11 lines
526 B
C

// 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