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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaTemplate
/
nested-implicit-deduction-guides.cpp
blob
10b70f9c8c4f357318d8da49a74def8197dfa136
1
// RUN: %clang_cc1 -std=c++17 -verify %s
2
// expected-no-diagnostics
3
4
template
<
class
T
>
struct
S
{
5
template
<
class
U
>
struct
N
{
6
N
(
T
) {}
7
N
(
T
,
U
) {}
8
template
<
class
V
>
N
(
V
,
U
) {}
9
};
10
};
11
12
S
<
int
>::
N x
{
"a"
,
1
};
13
14
using
T
=
decltype
(
x
);
15
using
T
=
S
<
int
>::
N
<
int
>;