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
[RISCV][VLOPT] Remove dead passthru check in getOperandLog2EEW. NFC (#123911)
[llvm-project.git]
/
clang
/
test
/
CXX
/
temp
/
temp.deduct.guide
/
p2.cpp
blob
3549755ff0f29e2c3ecd7e46a82ff919259c203f
1
// RUN: %clang_cc1 -std=c++1z -verify %s
2
// expected-no-diagnostics
3
4
namespace
std_example
{
5
template
<
typename T
,
typename U
=
int
>
struct
S
{
6
T data
;
7
};
8
template
<
typename U
>
S
(
U
) ->
S
<
typename
U
::
type
>;
9
10
struct
A
{
11
using
type
=
short
;
12
operator
type
();
13
};
14
S x
{
A
()};
15
}