llvm/clang-tools-extra/clangd/test/check-lines.test

// 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: ExpandDeducedType ==> FAIL
// CHECK: All checks completed, 1 errors

void fun();
auto x = fun; // This line is tested
auto y = fun; // This line is not tested