Debian Codegraph @

gcc/testsuite/g++.dg/modules/memref-1_a.C

raw
1 // { dg-additional-options -fmodules-ts }
2
3 export module Foo;
4 // { dg-module-cmi Foo }
5
6 export class Bit
7 {
8 private:
9 unsigned _M_msb:1;
10 };
11
12 Bit Make () noexcept;
13
14 export class Container
15 {
16 public:
17 void Frob ()
18 {
19 _M_rep = Make ();
20 }
21
22 private:
23 Bit _M_rep;
24 };