Mercurial > hg > CbC > CbC_llvm
view clang/test/ClangScanDeps/error.cpp @ 165:597b3f1c2c93
fix call createTailCallEliminationPass
author | anatofuz |
---|---|
date | Tue, 24 Mar 2020 15:30:52 +0900 |
parents | 1d019706d866 |
children | 2e18cbf3894f |
line wrap: on
line source
// RUN: rm -rf %t.dir // RUN: rm -rf %t.cdb // RUN: mkdir -p %t.dir // RUN: cp %s %t.dir/regular_cdb_input.cpp // RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/regular_cdb.json > %t.cdb // // RUN: not clang-scan-deps -compilation-database %t.cdb -j 1 2>%t.dir/errs // RUN: echo EOF >> %t.dir/errs // RUN: FileCheck %s --input-file %t.dir/errs #include "missing.h" // CHECK: Error while scanning dependencies // CHECK-NEXT: error: no such file or directory: // CHECK-NEXT: error: no input files // CHECK-NEXT: error: // CHECK-NEXT: Error while scanning dependencies // CHECK-NEXT: fatal error: 'missing.h' file not found // CHECK-NEXT: "missing.h" // CHECK-NEXT: ^ // CHECK-NEXT: Error while scanning dependencies // CHECK-NEXT: fatal error: 'missing.h' file not found // CHECK-NEXT: "missing.h" // CHECK-NEXT: ^ // CHECK-NEXT: EOF