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