From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gabriel Dos Reis To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/3012: c++ bug Date: Fri, 01 Jun 2001 18:26:00 -0000 Message-id: <20010602012602.26841.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00031.html List-Id: The following reply was made to PR c++/3012; it has been noted by GNATS. From: Gabriel Dos Reis To: "Artem Khodush" Cc: "Robert B. Lowrie" , , , Subject: Re: c++/3012: c++ bug Date: 02 Jun 2001 03:12:21 +0200 "Artem Khodush" writes: | Robert B. Lowrie wrote: | > If a templated member function `foo' of even a non-templated class | > `A' is called within a templated class `B' with the syntax | > foo(), the compiler gives a syntax error. | | > // when B is a template, compile fails on this line: | > a.foo(); | | Not a bug. This IS a known bug in the parser. -- Gaby