Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
;
}