Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
static7.C
blob: edb8e6a8db0e0542073b9a6c5b58e95cfd58be48 [
file
] [
log
] [
blame
]
// PR c++/17530
// { dg-do link }
typedef
void
(*
Func
)
();
void
f
(
Func
)
{}
struct
B
{
static
void
staticfunc
()
{}
};
template
<int>
void
C
(){
f
(
B
::
staticfunc
);
}
int
main
()
{
C
<
0
>();
return
0
;
}