------- Comment #2 from bangerth at gmail dot com 2009-08-25 14:04 ------- Confirmed: --------------------------------- class A { template <int> struct s { enum { value }; }; };
int i = A::s<10>::value; --------------------------------- This should produce an error but doesn't. W. -- bangerth at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bangerth at gmail dot com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-08-25 14:04:38 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40901