1// RUN: cp %s %t.cpp 2// RUN: not clangd -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: ExpandAutoType ==> FAIL 11// CHECK: All checks completed, 2 errors 12 13#include "missing.h" 14void fun(); 15auto x = fun; 16