Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction7.C
blob: ab96774d5e9ca95f277bb3348fb5b8c433f13870 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17 } }
template
<
class
T
>
struct
A
{
int
i
;
};
template
<
class
T
>
A
(
T
);
// { dg-error "must have trailing return type" }