From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24194 invoked by alias); 13 May 2003 09:16:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 24099 invoked by uid 71); 13 May 2003 09:16:02 -0000 Resent-Date: 13 May 2003 09:16:02 -0000 Resent-Message-ID: <20030513091602.24097.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, Alexander.Zviagine@cern.ch Received: (qmail 16263 invoked by uid 48); 13 May 2003 09:14:19 -0000 Message-Id: <20030513091419.16262.qmail@sources.redhat.com> Date: Tue, 13 May 2003 09:16:00 -0000 From: Alexander.Zviagine@cern.ch Reply-To: Alexander.Zviagine@cern.ch To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/10767: some code with 'typeof' does not compile X-SW-Source: 2003-05/txt/msg01465.txt.bz2 List-Id: >Number: 10767 >Category: c++ >Synopsis: some code with 'typeof' does not compile >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Tue May 13 09:16:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Alexander.Zviagine@cern.ch >Release: gcc-3.2 >Organization: >Environment: >Description: I am not sure that this is a bug, but I though that the code maight work. // -- CUT HERE -- class A {public: typedef int B;} a; typeof(a) aa; // ok A::B b; // ok typeof(a)::B bb; // does not work $ g++ -c typeof.cc typeof.cc:4: syntax error before `;' token >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: