Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
nontype22.C
blob: 44d8479af29951ff5dcd055cd7aadb6e8835e6d4 [
file
] [
log
] [
blame
]
// PR c++/44629
// The proper mangling is unclear.
template
<
typename
T
>
int
cmp1
(
T a
,
T b
);
template
<
typename
T
,
int
(*
cmp
)(
T
,
T
)
=
cmp1
>
struct
A
{
};
template
<
typename
T
>
void
f
(
A
<
T
>
&);
void
g
()
{
A
<char>
a
;
f
(
a
);
}