Commit 21c0d0f5 by Jason Merrill

fix

From-SVN: r23362
parent ac0f1cd2
// Build don't link:
// $7.1.2 disallows explicit on anything but declarations of
// constructors ... including friends.
class foo { public: foo(); };
class bar { public: friend explicit foo::foo(); };
class bar { public: friend explicit foo::foo(); }; // ERROR - explicit 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