This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13592] [3.4 Regression] C++ parser regression
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2004 14:07:35 -0000
- Subject: [Bug c++/13592] [3.4 Regression] C++ parser regression
- References: <20040106233309.13592.rwgk@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-01-07 14:07 -------
Here is something that's more in our standard format:
--------------------
struct S {
void operator()(int);
};
struct A {
template <typename> void foo();
S s;
};
template <typename> void A::foo() {
s(0);
}
--------------------------
g/x> /home/bangerth/bin/gcc-3.3.3-pre/bin/c++ -c x.cc
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
x.cc: In member function `void A::foo()':
x.cc:11: error: call to non-function `A::s'
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13592