Sign in
llvm
/
llvm-project
/
1e8286467036d8ef1a972de723f805a4981b2692
/
.
/
clang
/
test
/
SemaTemplate
/
default-member-init.cpp
blob: 5615d11e33d6da8c34584dfafdc0aeee945489e3 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++20 -verify %s
// expected-no-diagnostics
struct
Q
{
enum
F
{
f
};
};
template
<
typename
T
>
struct
A
:
Q
{
enum
E
{
e
}
E
=
e
;
using
Q
::
F
;
Q
::
F F
=
f
;
};
A
<int>
a
=
{};