Debian Codegraph @

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

raw
1 // PR c++/120499
2 // { dg-module-do link }
3 // { dg-additional-options "-fmodules -fdump-lang-module" }
4
5 import B;
6
7 int main() {
8 createColl();
9 }
10
11 // And we should use the definition of _Vector_impl::~_Vector_impl now.
12 // In this case we got the seeded import from A of the declaration
13 // so let's just ensure we stream the definition.
14 // { dg-final { scan-lang-dump {Reading function definition '::vector@A:1<int>::_Vector_impl@A:1<int>::__dt @A:1'} module } }