mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 18:19:57 +08:00
update
From-SVN: r23844
This commit is contained in:
parent
e8294a3575
commit
c4c2aca361
@ -6,7 +6,7 @@ class some_base
|
||||
{
|
||||
public:
|
||||
class base_func_args;
|
||||
virtual void func(base_func_args &) = 0;
|
||||
virtual void func(base_func_args &) = 0; // ERROR - referenced below
|
||||
};
|
||||
|
||||
class some_base::base_func_args
|
||||
|
@ -1,8 +1,9 @@
|
||||
#include <iostream.h>
|
||||
|
||||
class A1 {
|
||||
friend class B;
|
||||
public:
|
||||
virtual void foo() {friend class B;};
|
||||
virtual void foo() {};
|
||||
};
|
||||
|
||||
class A2 : public virtual A1 {friend class B;};
|
||||
|
Loading…
Reference in New Issue
Block a user