Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash98.C
blob: 9d7d2ece1458a7b22cf5652852bc11fc24e13431 [
file
] [
log
] [
blame
]
// PR c++/43630
template
<
typename
>
struct
A
;
template
<
typename
>
struct
A
<
int
>
// { dg-error "not deducible|template\\-parameter|declaration" }
{
int
i
;
int
f
();
};
int
A
<
int
>::
f
()
// { dg-error "incomplete type" }
{
return
i
;
}