| 1 |
// RUN: cp %s %t.cpp |
| 2 |
// RUN: not clangd -enable-config=0 -check=%t.cpp -check-lines=6-14 2>&1 | FileCheck -strict-whitespace %s |
| 3 |
// RUN: not clangd -enable-config=0 -check=%t.cpp -check-lines=14 2>&1 | FileCheck -strict-whitespace %s |
| 4 |
|
| 5 |
// CHECK: Testing on source file {{.*}}check-lines.test |
| 6 |
// CHECK: internal (cc1) args are: -cc1 |
| 7 |
// CHECK: Building preamble... |
| 8 |
// CHECK: Building AST... |
| 9 |
// CHECK: Testing features at each token |
| 10 |
// CHECK: tweak: ExpandDeducedType ==> FAIL |
| 11 |
// CHECK: All checks completed, 1 errors |
| 12 |
|
| 13 |
void fun(); |
| 14 |
auto x = fun; // This line is tested |
| 15 |
auto y = fun; // This line is not tested |