AspectC++/tests/JPTL/main.cc
raw| 1 | #include <inttypes.h> |
| 2 | |
| 3 | class Base1 {}; |
| 4 | |
| 5 | class Base2 {}; |
| 6 | |
| 7 | class Base3 : private Base2 { |
| 8 | int32_t a; |
| 9 | int64_t a2; |
| 10 | }; |
| 11 | |
| 12 | class Derived : public Base3, public Base1 { |
| 13 | int32_t b[2]; |
| 14 | int8_t c; |
| 15 | int64_t d; |
| 16 | |
| 17 | public: |
| 18 | void bar() {}; |
| 19 | void foo(); |
| 20 | }; |
| 21 | |
| 22 | int main() { |
| 23 | Derived b; |
| 24 | b.bar(); |
| 25 | |
| 26 | return 0; |
| 27 | } |