1 | #include "base.h" |
---|---|
2 | |
3 | class Foo : public FooNS |
4 | { |
5 | public: |
6 | Foo(); |
7 | |
8 | // Deliberately defined by hand. |
9 | Foo &operator=(const Foo &rhs) { |
10 | a = rhs.a; |
11 | return *this; |
12 | } |
13 | |
14 | char baz() override; |
15 | int a; |
16 | }; |
17 | |
18 | extern Foo foo1; |
19 | extern Foo foo2; |
20 |