Mercurial > hg > CbC > CbC_llvm
view clang-tools-extra/clangd/test/check-fail.test @ 221:79ff65ed7e25
LLVM12 Original
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 15 Jun 2021 19:15:29 +0900 |
parents | |
children | c4bab56944e8 |
line wrap: on
line source
// RUN: cp %s %t.cpp // RUN: not clangd -check=%t.cpp 2>&1 | FileCheck -strict-whitespace %s // CHECK: Testing on source file {{.*}}check-fail.test // CHECK: internal (cc1) args are: -cc1 // CHECK: Building preamble... // CHECK: [pp_file_not_found] Line {{.*}}: 'missing.h' file not found // CHECK: Building AST... // CHECK: Testing features at each token // CHECK: tweak: ExpandAutoType ==> FAIL // CHECK: All checks completed, 2 errors #include "missing.h" void fun(); auto x = fun;