[Bug c++/37766] [C++0x] ICE with function's default reference template parameter
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 24 20:13:00 GMT 2008
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-24 20:11 -------
Reduced testcase:
const int a = 1;
template<const int& b = a> void f() {
f<>();
}
-- CUT ---
Works with a struct though.
Confirmed, not a regression
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Known to fail| |4.3.3 4.4.0
Last reconfirmed|0000-00-00 00:00:00 |2008-12-24 20:11:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37766
More information about the Gcc-bugs
mailing list