Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
ptrmem16.C
blob: 770581db828873c5952098f24527207768221bac [
file
] [
log
] [
blame
]
// PR c++/25369
// { dg-do link }
template
<typename>
struct
A
{
void
foo
()
{}
};
void
bar
(
void
(
A
<int>
::*)())
{}
template
<int>
void
baz
()
{
bar
(&
A
<int>
::
foo
);
}
int
main
()
{
baz
<
0
>();
return
0
;
}