brintos

brintos / llvm-project-archived public Read only

0
0
Text · 604 B · 3488849 Raw
16 lines · plain
1// RUN: cp %s %t.cpp2// RUN: not clangd -enable-config=0 -check=%t.cpp -check-lines=6-14 2>&1 | FileCheck -strict-whitespace %s3// RUN: not clangd -enable-config=0 -check=%t.cpp -check-lines=14 2>&1 | FileCheck -strict-whitespace %s4 5// CHECK: Testing on source file {{.*}}check-lines.test6// CHECK: internal (cc1) args are: -cc17// CHECK: Building preamble...8// CHECK: Building AST...9// CHECK: Testing features at each token10// CHECK: tweak: ExpandDeducedType ==> FAIL11// CHECK: All checks completed, 1 errors12 13void fun();14auto x = fun; // This line is tested15auto y = fun; // This line is not tested16