bolt/deps/llvm-18.1.8/clang-tools-extra/clangd/test/check-lines.test
2025-02-14 19:21:04 +01:00

15 lines
604 B
Text

// 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