Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr52819.C
blob: 66175bc21e4d185c8e7c68c0a0c9189e6635028b [
file
] [
log
] [
blame
]
// PR c++/52819
typedef
void
(*
cfi
)(
void
*);
void
function
(
int
*
a
)
{}
template
<
cfi
Func
>
void
get
()
{
Func
(
0
);
}
int
main
()
{
get
<(
cfi
)
function
>();
// { dg-error "" }
return
0
;
}