☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
class-3_a.C
☽
☼
gcc/testsuite/g++.dg/modules/class-3_a.C
code
plain
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
};