8sa1-gcc/gcc/testsuite/g++.old-deja/g++.other/pmf2.C
Jason Merrill 1590ea76e9 update
From-SVN: r23187
1998-10-19 16:13:15 -04:00

19 lines
198 B
C

// Build don't link:
// submitted by David C Binderman <dcb@pncl.co.uk>
struct S
{
void f();
};
void (S ::* pmf) ();
S * pf;
void
f()
{
pmf = & pf->f; // ERROR - not a valid pmf expression
}