Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
error21.C
blob: c5f04f03e856b06d053b5cec5e0ad76fd477bdb5 [
file
] [
log
] [
blame
]
// PR c++/20173
template
<
typename
AT
>
struct
A
{
template
<
typename
T
>
void
function
(
T
){}
};
template
<>
template
<
typename
T
>
void
A
<int>
::
function
(
T
){}
template
<>
template
<
typename
T
>
void
A
<double>
::
function
(
T
*){}
// { dg-error "match" }