1 2 3 4 5 6 7 8 9 10
// Build don't link: template <class A> class B { A a; public: const A& value () { return a; } }; static B<int> b_int; int foo () { return b_int.value(); }