1 // Check dependency scanning when skipping an unmatched #if
4 // RUN: split-file %s %t
5 // RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.template > %t/cdb.json
7 // RUN: not clang-scan-deps -compilation-database %t/cdb.json 2>&1 | FileCheck %s
8 // CHECK: header1.h:1:2: error: unterminated conditional directive
10 //--- cdb.json.template
13 "command" : "clang -target x86_64-apple-macosx10.7 -c DIR/test.cpp -o DIR/test.o",