------- Additional Comments From reichelt at gcc dot gnu dot org 2005-04-11 20:23 ------- Even shorter testcase:
================================= template<int> struct A {}; template<typename T> struct B { static const T i; static const int j = i; A<j> a; }; B<int> b; ================================= -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20668