------- Comment #7 from reichelt at gcc dot gnu dot org 2006-07-12 14:08 ------- Even shorter (valid) testcase:
=========================================
template<typename> struct A
{
static const bool i = true;
template<bool = i> struct B {};
B<> b;
};
=========================================
This crashes since GCC 4.0.3 and was rejected by GCC 3.4.0 - 4.0.2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28235
