Debian Codegraph @

gcc/testsuite/g++.dg/modules/imp-member-4_b.C

raw
1 // PR c++/120499
2 // { dg-additional-options "-fmodules -fdump-lang-module-blocks" }
3 // { dg-module-cmi B }
4
5 export module B;
6 import A;
7
8 struct Coll {
9 vector<int> vals;
10 };
11
12 export Coll createColl() {
13 return Coll{};
14 }
15
16 // But the definition of _Vector_impl::~_Vector_impl has been synthesized here
17 // { dg-final { scan-lang-dump-times {\[0\]=decl definition '::vector@A:1<int>::_Vector_impl@A:1<int>::__dt '} 1 module } }