☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
class-1_b.C
☽
☼
gcc/testsuite/g++.dg/modules/class-1_b.C
code
plain
raw
1
// { dg-additional-options "-fmodules-ts" }
2
module One;
3
4
struct Bob::X
5
{
6
int i;
7
};
8
9
10
int x = sizeof (Bob::X);
11
12
void copy (Bob::Y *dst, Bob::Y const *src)
13
{
14
dst->a = src->a;
15
dst->b = src->b;
16
}