2020-10-02 15:53:06 +08:00
|
|
|
// RUN: cp %s %t.cpp
|
|
|
|
// RUN: clangd -log=verbose -check=%t.cpp 2>&1 | FileCheck -strict-whitespace %s
|
2020-10-01 22:14:31 +08:00
|
|
|
|
2020-10-02 15:53:06 +08:00
|
|
|
// CHECK: Testing on source file
|
|
|
|
// CHECK: internal (cc1) args are: -cc1
|
|
|
|
// CHECK: Building preamble...
|
|
|
|
// CHECK: Built preamble
|
|
|
|
// CHECK: Building AST...
|
|
|
|
// CHECK: Testing features at each token
|
|
|
|
// CHECK-DAG: tweak: ExpandAuto
|
|
|
|
// CHECK-DAG: hover: true
|
|
|
|
// CHECK-DAG: tweak: AddUsing
|
|
|
|
// CHECK: All checks completed, 0 errors
|
2020-10-01 22:14:31 +08:00
|
|
|
|
2020-10-02 15:53:06 +08:00
|
|
|
namespace ns {
|
|
|
|
struct Foo {};
|
|
|
|
} // namespace ns
|
|
|
|
auto f = ns::Foo();
|