llvm-project/clang/test/Preprocessor/dependencies-and-pp.c

6 lines
179 B
C

// RUN: clang -E -o %t.1 %s &&
// RUN: clang -E -MD -MF %t.d -MT foo -o %t.2 %s &&
// RUN: diff %t.1 %t.2 &&
// RUN: grep "foo:" %t.d &&
// RUN: grep "dependencies-and-pp.c" %t.d