From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22214 invoked by alias); 2 May 2006 21:12:30 -0000 Received: (qmail 22195 invoked by uid 48); 2 May 2006 21:12:26 -0000 Date: Tue, 02 May 2006 21:12:00 -0000 Subject: [Bug c++/27403] New: T() can be an integer constant but is rejected as not one X-Bugzilla-Reason: CC Message-ID: 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-05/txt/msg00226.txt.bz2 List-Id: Testcase: template struct A { typedef int I; }; template typename A::I foo (T) { return 0; } ----- I found this while looking at PR 27402. This is not a regression as it did not work in 2.95 on wards. -- Summary: T() can be an integer constant but is rejected as not one Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27403