☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
enum-2_a.C
☽
☼
gcc/testsuite/g++.dg/modules/enum-2_a.C
code
plain
raw
1
// { dg-additional-options -fmodules-ts }
2
3
export module foo;
4
// { dg-module-cmi foo }
5
6
export struct X
7
{
8
enum q
9
{
10
frob
11
};
12
};
13
14
export template <int I> struct TPL
15
{
16
enum p
17
{
18
u,
19
v = I
20
};
21
};