Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
using-enum-1_a.H
blob: a4204b4f6be180327f13ba8bbbffbb4b0419ab2f [
file
] [
log
] [
blame
]
// { dg-additional-options {-fmodule-header -std=c++2a} }
// { dg-module-cmi {} }
enum
class
E
{
a
,
b
,
c
};
struct
C
{
using
enum
E
;
};
struct
D
:
C
{
int
foo
()
{
return
int
(
a
);
}
};