summaryrefslogtreecommitdiff
path: root/test/ClangScanDeps/strip_diag_serialize.cpp
blob: ec62e75134814bcb5cec085f0a7df74747349300 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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"