[Bug c++/23191] [4.0/4.1 Regression] ICE on invalid throw in template

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 2 11:11:00 GMT 2005


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-08-02 11:11 -------
Similar testcase without arrays of length zero (which is not a bug in
every version of GCC):

========================================
template<typename T> struct A
{
    void foo() throw(typename T::X);
};

A<void> a;
========================================


-- 


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



More information about the Gcc-bugs mailing list