File tree Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Original file line number Diff line number Diff line change 1
- # RUN: clangd -log=verbose -check 2>&1 | FileCheck -strict-whitespace %s
1
+ // RUN: cp %s %t.cpp
2
+ // RUN: clangd -log=verbose -check=%t.cpp 2>&1 | FileCheck -strict-whitespace %s
2
3
3
- CHECK: Testing on source file {{.*}}test.cc
4
- CHECK: internal (cc1) args are: -cc1
5
- CHECK: Building preamble...
6
- CHECK: Built preamble
7
- CHECK: Building AST...
8
- CHECK: Testing features at each token
9
- CHECK-DAG: hover: false
10
- CHECK-DAG: hover: true
11
- CHECK-DAG: tweak: AddUsing
12
- CHECK: All checks completed, 0 errors
4
+ // CHECK: Testing on source file
5
+ // CHECK: internal (cc1) args are: -cc1
6
+ // CHECK: Building preamble...
7
+ // CHECK: Built preamble
8
+ // CHECK: Building AST...
9
+ // CHECK: Testing features at each token
10
+ // CHECK-DAG: tweak: ExpandAuto
11
+ // CHECK-DAG: hover: true
12
+ // CHECK-DAG: tweak: AddUsing
13
+ // CHECK: All checks completed, 0 errors
13
14
15
+ namespace ns {
16
+ struct Foo {};
17
+ } // namespace ns
18
+ auto f = ns::Foo();
You can’t perform that action at this time.
0 commit comments