Debian Codegraph @

gcc/testsuite/g++.dg/modules/namespace-12_a.C

raw
1 // PR c++/121724
2 // { dg-additional-options "-fmodules -Wno-global-module" }
3 // { dg-module-cmi foo }
4
5 module;
6 namespace A {
7 inline namespace X {
8 namespace B {
9 }
10 }
11 }
12 export module foo;
13 export namespace A {
14 namespace B {
15 struct S {};
16 }
17 }