Debian Codegraph @

gcc/testsuite/g++.dg/modules/class-3_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 X
7 {
8 X (int, int);
9 X (int a_)
10 : a(a_), b (a_ << 16)
11 {
12 }
13 int a;
14 int b;
15 };