// { dg-do assemble } template class B { public: A a; }; static B b_int; int foo () { return b_int.a; }