mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-11 13:37:38 +08:00
fix
From-SVN: r23362
This commit is contained in:
parent
ac0f1cd216
commit
21c0d0f5b2
@ -1,6 +1,4 @@
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user