Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
>();
}