forked from OSchip/llvm-project
16 lines
567 B
Plaintext
16 lines
567 B
Plaintext
// RUN: cp %s %t.cpp
|
|
// RUN: not clangd -check=%t.cpp -check-lines=6-14 2>&1 | FileCheck -strict-whitespace %s
|
|
// RUN: not clangd -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
|