Debian Codegraph @

clang-tools-extra/clangd/test/check-fail.test

raw
1 // RUN: cp %s %t.cpp
2 // RUN: not clangd -enable-config=0 -check=%t.cpp 2>&1 | FileCheck -strict-whitespace %s
3
4 // CHECK: Testing on source file {{.*}}check-fail.test
5 // CHECK: internal (cc1) args are: -cc1
6 // CHECK: Building preamble...
7 // CHECK: [pp_file_not_found] Line {{.*}}: 'missing.h' file not found
8 // CHECK: Building AST...
9 // CHECK: Testing features at each token
10 // CHECK: tweak: ExpandDeducedType ==> FAIL
11 // CHECK: All checks completed, 2 errors
12
13 #include "missing.h"
14 void fun();
15 auto x = fun;