1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
struct A; typedef void (A::*Am1) (void *); typedef void (A::*Am2) (); struct B { Am2 am2; }; struct A { A (); struct B b; struct C *c; struct D *d; void foo (Am1); void bar (void *); }; struct C { };