Commit 9896d23c by Alexandre Oliva Committed by Alexandre Oliva

pmf2.C: New test.

	* g++.old-deja/g++.other/pmf2.C: New test.  invalid
	pointer-to-member expression

From-SVN: r22994
parent 5adc18d7
1998-10-12 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/pmf2.C: New test. invalid
pointer-to-member expression
* g++.old-deja/g++.other/friend5.C: New test. bogus friend
declaration causes ICE
......
// 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 - XFAIL *-*-*
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment