Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
ptrmem7.C
blob: 37b26895e4b0414096048e0cf43ed833a5da0448 [
file
] [
log
] [
blame
]
// PR c++/80043
// { dg-options -fpermissive }
struct
A
{
template
<int>
void
foo
()
{
void
(
A
::*
fp
)();
fp
=
A
::
foo
<
0
>;
// { dg-warning "assuming pointer to member" }
}
};
void
bar
()
{
A
().
foo
<
0
>();
}