Debian Codegraph @

gcc/testsuite/g++.dg/modules/member-def-2_b.C

raw
1 // { dg-additional-options "-fmodules-ts -fdump-lang-module-blocks" }
2
3 export module foo:part2;
4 // { dg-module-cmi {foo:part2} }
5
6 import :part1;
7
8 inline void frob::member ()
9 {
10 }
11
12 // { dg-final { scan-lang-dump { Cluster members:\n \[0\]=decl definition '::frob@foo:part1:1::member'\n} module } }
13 // { dg-final { scan-lang-dump {Pendings 1} module } }
14 // { dg-final { scan-lang-dump {Bindings 0} module } }
15
16 // { dg-final { scan-assembler-not {_ZN4frob6memberEv:} } }