[Bug c++/42251] [4.5 Regression] failure detecting constant integral expression

dodji at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 8 14:44:00 GMT 2009



------- Comment #4 from dodji at gcc dot gnu dot org  2009-12-08 14:44 -------
A shorter reproducer is:

struct foo
{
    static const bool b = false;
};

template<bool x>
struct S1
{ 
};

template<bool x>
struct S2
    : S1<foo::b>
{ 
};


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42251



More information about the Gcc-bugs mailing list