repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
SemaTemplate
/
default-member-init.cpp
blob
5615d11e33d6da8c34584dfafdc0aeee945489e3
1
// RUN: %clang_cc1 -std=c++20 -verify %s
2
// expected-no-diagnostics
3
4
struct
Q
{
enum
F
{
f
}; };
5
6
template
<
typename T
>
struct
A
:
Q
{
7
enum
E
{
e
}
E
=
e
;
8
9
using
Q
::
F
;
10
Q
::
F F
=
f
;
11
};
12
A
<
int
>
a
= {};