From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4448 invoked by alias); 19 Oct 2006 21:55:04 -0000 Received: (qmail 4354 invoked by uid 48); 19 Oct 2006 21:54:52 -0000 Date: Thu, 19 Oct 2006 21:55:00 -0000 Message-ID: <20061019215452.4353.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/29518] diagnostic on correct code; regression from 3.4.4 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-10/txt/msg01684.txt.bz2 List-Id: ------- Comment #6 from pinskia at gcc dot gnu dot org 2006-10-19 21:54 ------- Reduced testcase: template< bool C > int assertion_failed( int); template< class > struct N { static bool const okay = true; enum { t = sizeof( assertion_failed( 0)) }; }; main() { N n; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29518