gcc/testsuite/g++.dg/modules/imp-member-1_b.C
raw| 1 | // { dg-additional-options "-fmodules-ts -fdump-lang-module-blocks" } |
| 2 | export module B; |
| 3 | // { dg-module-cmi B } |
| 4 | export import A; |
| 5 | |
| 6 | export struct D |
| 7 | { |
| 8 | C c; |
| 9 | |
| 10 | // ctor causes C::C to exist, and we need to put it in out CMI |
| 11 | inline D (){} |
| 12 | }; |
| 13 | |
| 14 | // { dg-final { scan-lang-dump {\[.*\]=decl definition '::C@A:1::__ct '} module } } |