☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
using-enum-1_a.H
☽
☼
gcc/testsuite/g++.dg/modules/using-enum-1_a.H
code
plain
raw
1
// { dg-additional-options {-fmodule-header -std=c++2a} }
2
// { dg-module-cmi {} }
3
4
enum class E {a, b, c};
5
struct C
6
{
7
using enum E;
8
};
9
10
struct D: C
11
{
12
int foo ()
13
{
14
return int (a);
15
}
16
};