view clang/test/Preprocessor/pr13851.c @ 180:680fa57a2f20

fix compile errors.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 30 May 2020 17:44:06 +0900
parents 1d019706d866
children
line wrap: on
line source

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