Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
spec16.C
blob: dbe44269a9440770413311d3a6a6cfac7e03715a [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
K
>
struct
A
{
int
foo
(
const
K
&);
int
bar
(
const
K
&);
};
template
<
class
K
>
int
A
<
K
>::
bar
(
const
K
&
k
)
{
return
(
foo
(
k
));
}
template
<>
int
A
<
const
char
*>::
foo
(
const
char
*
const
&
k
)
{
return
((
__SIZE_TYPE__
)
k
);
}