[Bug c++/13592] [3.4 Regression] C++ parser regression
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Wed Jan 7 14:07:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list