llvm-for-llvmta/tools/clang/test/PCH/emit-dependencies.c

10 lines
244 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: rm -f %t.pch
// RUN: %clang_cc1 -emit-pch -o %t.pch %S/Inputs/chain-decls1.h
// RUN: %clang_cc1 -include-pch %t.pch -fsyntax-only -MT %s.o -dependency-file - %s | FileCheck %s
// CHECK: chain-decls1.h
int main() {
f();
return 0;
}