Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction11.C
blob: 2a7594918e5a42368c56e56619623e6603e9edf8 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17 } }
template
<
class
T
>
struct
A
{
int
i
;
A
(...);
};
template
<
class
T
>
static
A
(
T
)
->
A
<
T
>;
// { dg-error "1:decl-specifier" }