Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
ptrmem8.C
blob: 00be3df37bb6f02ffa1ff26eb6c356748584dfc1 [
file
] [
log
] [
blame
]
// { dg-options "-fpermissive -w" }
struct
A
{
template
<int>
void
foo
()
{
void
(
A
::*
fp
)();
fp
=
A
::
foo
<
0
>;
// { dg-bogus "pointer to member" }
}
};
void
bar
()
{
A
().
foo
<
0
>();
}