20 lines
258 B
C
20 lines
258 B
C
|
#include "base.h"
|
||
|
|
||
|
class Foo : public FooNS
|
||
|
{
|
||
|
public:
|
||
|
Foo();
|
||
|
|
||
|
// Deliberately defined by hand.
|
||
|
Foo &operator=(const Foo &rhs) {
|
||
|
a = rhs.a;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
char baz() override;
|
||
|
int a;
|
||
|
};
|
||
|
|
||
|
extern Foo foo1;
|
||
|
extern Foo foo2;
|