From-SVN: r23844
This commit is contained in:
Jason Merrill 1998-11-24 19:22:44 -05:00
parent e8294a3575
commit c4c2aca361
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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;};