------- Comment #7 from gdr at cs dot tamu dot edu 2006-10-19 21:57 ------- Subject: Re: diagnostic on correct code; regression from 3.4.4
On Thu, 19 Oct 2006, pinskia at gcc dot gnu dot org wrote: | Reduced testcase: Very nice. | template< bool C > int assertion_failed( int); | template< class > | struct N | { | static bool const okay = true; | enum { | t = sizeof( assertion_failed<okay>( 0)) | }; | }; | main() missing "int". | { | N<int> n; | } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29518