1 // bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq 2 class A { 3 public: 4 int member_a; 5 class B { 6 int member_b; 7 }; 8 9 class C; 10 11 template<typename T> 12 class D { 13 T foo; 14 }; 15 }; 16 17 class A::C { 18 int baz; 19 }; 20 21 A::B var; 22 A::D<int> baz; 23 24 class D { 25 A::B member; 26 }; 27 28 template<typename T> 29 class Templated { 30 T member; 31 32 class Templated_inner { 33 public: 34 T* member_ptr; 35 void get(); 36 }; 37 }; 38