Skip to content

Commit bc18d8d

Browse files
committed
[clangd] Drop dependence on standard library in check.test
1 parent 542523a commit bc18d8d

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed
Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
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
23

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
1314

15+
namespace ns {
16+
struct Foo {};
17+
} // namespace ns
18+
auto f = ns::Foo();

0 commit comments

Comments
 (0)