Debian Codegraph @

clang_delta/tests/remove-namespace/namespace10.cpp

raw symbols SCIP
1 // RUN: %clang_delta --transformation=remove-namespace --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-FIRST
2 // RUN: %clang_delta --transformation=remove-namespace --counter=2 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-SECOND
3
4 namespace NS {
5 namespace {
6 int x;
7 } // ANON
8 } // NS
9
10 // CHECK-FIRST-NOT: namespace NS {
11 // CHECK-FIRST: namespace {
12 // CHECK-FIRST: int x;
13 // CHECK-FIRST: } // ANON
14 // CHECK-FIRST-NOT: }
15
16 // CHECK-SECOND: namespace NS {
17 // CHECK-SECOND-NOT: namespace {
18 // CHECK-SECOND: int x;
19 // CHECK-SECOND-NOT: }
20 // CHECK-SECOND: } // NS
21