2020-10-01 22:14:31 +08:00
|
|
|
// RUN: cp %s %t.cpp
|
2021-07-30 13:39:46 +08:00
|
|
|
// RUN: not clangd -enable-config=0 -check=%t.cpp 2>&1 | FileCheck -strict-whitespace %s
|
2020-10-01 22:14:31 +08:00
|
|
|
|
|
|
|
// 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"
|
2020-12-01 23:53:21 +08:00
|
|
|
void fun();
|
|
|
|
auto x = fun;
|