1 2 3 4 5 6 7 8 9 10
// PR c++/60167 template <int& F> struct Foo { typedef int Bar; static Bar cache; }; template <int& F> typename Foo<F>::Bar Foo<F>::cache;