1 | namespace A { |
---|---|
2 | namespace B { // expected-note{{namespace 'A::B' begins here}} |
3 | #include "misplaced-b.h" // expected-error{{import of module 'Misplaced.Sub_B' appears within namespace 'A::B'}} |
4 | } |
5 | } |
6 |
1 | namespace A { |
---|---|
2 | namespace B { // expected-note{{namespace 'A::B' begins here}} |
3 | #include "misplaced-b.h" // expected-error{{import of module 'Misplaced.Sub_B' appears within namespace 'A::B'}} |
4 | } |
5 | } |
6 |