Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction89.C
blob: dd89857302211f1170b7bcc5dd57edc6c5e5e70b [
file
] [
log
] [
blame
]
// PR c++/86439
// { dg-do compile { target c++17 } }
struct
B
{
};
struct
C
{
};
template
<
class
T
>
struct
A
{
A
(
T
,
B
);
};
template
<
class
T
>
A
(
T
,
C
)
->
A
<
T
>;
A a
(
0
,
{});