You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
299 B
11 lines
299 B
7 months ago
|
// RUN: clang-change-namespace -old_namespace "na::nb" -new_namespace "x::y" --file_pattern ".*" %s -- | sed 's,// CHECK.*,,' | FileCheck %s
|
||
|
// CHECK: namespace x {
|
||
|
// CHECK-NEXT: namespace y {
|
||
|
namespace na {
|
||
|
namespace nb {
|
||
|
class A {};
|
||
|
// CHECK: } // namespace y
|
||
|
// CHECK-NEXT: } // namespace x
|
||
|
}
|
||
|
}
|