| 1 | // RUN: %clang_delta --transformation=rename-class --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s |
| 2 | |
| 3 | namespace NS { |
| 4 | // CHECK: struct A { static void foo(); }; |
| 5 | struct XYZ { static void foo(); }; |
| 6 | // CHECK: void A::foo() {} |
| 7 | void XYZ::foo() {} |
| 8 | } |
| 9 | |
| 10 | // CHECK: using NS::A; |
| 11 | using NS::XYZ; |
| 12 | void bar(void) { |
| 13 | // CHECK: NS::A::foo(); |
| 14 | NS::XYZ::foo(); |
| 15 | } |