public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/10767: some code with 'typeof' does not compile
@ 2003-05-13  9:16 Alexander.Zviagine
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander.Zviagine @ 2003-05-13  9:16 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/10767: some code with 'typeof' does not compile
@ 2003-05-13 14:26 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-05-13 14:26 UTC (permalink / raw)
  To: Alexander.Zviagine, gcc-bugs, gcc-prs, nobody

Synopsis: some code with 'typeof' does not compile

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Tue May 13 14:26:05 2003
State-Changed-Why:
    Duplicate of 6709

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10767


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-13 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-13  9:16 c++/10767: some code with 'typeof' does not compile Alexander.Zviagine
2003-05-13 14:26 bangerth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).