Debian Codegraph @

gcc/testsuite/g++.dg/modules/class-5_a.C

raw
1 // { dg-module-do run }
2 // { dg-additional-options "-fmodules-ts" }
3 export module One;
4 // { dg-module-cmi "One" }
5
6 export struct base
7 {
8 int b;
9
10 base (int b_)
11 : b (b_)
12 {
13 }
14
15 virtual int getter () const;
16 };