[Bug c++/34397] [4.3 regression] ICE on invalid default template parameter
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Dec 8 22:53:00 GMT 2007
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-12-08 22:53 -------
If I add:
A<int> a;
The code is rejected:
t.cc:7: error: subscripted value is neither array nor pointer
t.cc:7: error: template argument 2 is invalid
t.cc:7: error: invalid type in declaration before ';' token
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34397
More information about the Gcc-bugs
mailing list