[Bug c++/13810] [3.4/3.5 Regression] ICE on invalid default templates
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Thu Jan 22 15:46:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-01-22 15:46 -------
Confirmed. The code is invalid:
----------------------
template<typename> struct S {};
template<typename A,
template <typename> class B = S<A> > struct X{};
----------------------
The default argument should of course be S, not S<A>.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-01-22 15:46:55
date| |
Summary|[3.4/3.5 Regression] ICE on |[3.4/3.5 Regression] ICE on
|default templates |invalid default templates
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13810
More information about the Gcc-bugs
mailing list