// Bug: Instantiating A screws with class bindings for B // Build don't link: template struct A { }; struct B { typedef int foo; void f (); }; void B::f () { A a; foo i; }