Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction10.C
blob: eb0b15ee14977f7105bee38eb14bb9177cd33f8a [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17 } }
template
<
class
T
>
struct
A
{
int
i
;
A
(...);
};
template
<
class
T
>
A
(
T
)
->
A
<
T
>
{
}
// { dg-error "1:function body" }