blob: 4e8509869d8f9d66d7350762d1fa19439781b590 [file] [log] [blame]
// RUN: cp %s %t.cpp
// RUN: not clangd -enable-config=0 -check=%t.cpp -check-lines=6-14 2>&1 | FileCheck -strict-whitespace %s
// RUN: not clangd -enable-config=0 -check=%t.cpp -check-lines=14 2>&1 | FileCheck -strict-whitespace %s
// CHECK: Testing on source file {{.*}}check-lines.test
// CHECK: internal (cc1) args are: -cc1
// CHECK: Building preamble...
// CHECK: Building AST...
// CHECK: Testing features at each token
// CHECK: tweak: ExpandAutoType ==> FAIL
// CHECK: All checks completed, 1 errors
void fun();
auto x = fun; // This line is tested
auto y = fun; // This line is not tested