Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction8.C
blob: 20cabe00a74605421f473506cd94094fa40d1739 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17 } }
template
<
class
T
>
struct
A
{
int
i
;
A
(...);
// { dg-message "candidate" }
};
A a
(
42
);
// { dg-error "" }
template
<
class
T
>
A
(
T
)
->
A
<
T
>;
A a2
(
42
);