llvm-for-llvmta/tools/clang/test/ClangScanDeps/strip_diag_serialize.cpp

12 lines
372 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: rm -rf %t.dir
// RUN: rm -rf %t.cdb
// RUN: mkdir -p %t.dir
// RUN: cp %s %t.dir/strip_diag_serialize_input.cpp
// RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/strip_diag_serialize.json > %t.cdb
//
// RUN: clang-scan-deps -compilation-database %t.cdb 2>&1 | FileCheck %s
// CHECK-NOT: unable to open file
// CHECK: strip_diag_serialize_input.cpp
#warning "diagnostic"