| 1 |
// RUN: cp %s %t.cpp |
| 2 |
// RUN: clangd -enable-config=0 -log=verbose -check=%t.cpp 2>&1 | FileCheck -strict-whitespace %s |
| 3 |
|
| 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: ExpandDeducedType |
| 11 |
// CHECK-DAG: hover: true |
| 12 |
// CHECK-DAG: tweak: AddUsing |
| 13 |
// CHECK: All checks completed, 0 errors |
| 14 |
|
| 15 |
namespace ns { |
| 16 |
struct Foo {}; |
| 17 |
} // namespace ns |
| 18 |
auto f = ns::Foo(); |