------- 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

Reply via email to