Commit d459595b by Nathan Sidwell Committed by Nathan Sidwell

[C++ PATCH] missed testcase

https://gcc.gnu.org/ml/gcc-patches/2018-10/msg02065.html
	* g++.dg/lookup/friend21.C: New.

From-SVN: r265697
parent ab5324fb
2018-10-31 Nathan Sidwell <nathan@acm.org>
* g++.dg/lookup/friend21.C: New.
2018-10-31 Martin Liska <mliska@suse.cz>
PR driver/83193
......
// Unhiding a friend erroneously mutated a binding
class X
{
friend void frob (int, int);
};
void frob (int);
void frob (int, int);
void foo ()
{
frob (1); // Only saw unhidden friend
}
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