[Bug c++/11987] [3.4/3.5 regression] Accepts-invalid with inherited nested type
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 3 14:34:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-02-03 14:34 -------
Your knowledge in this area is certainly better than mine, so
I trust your judgment.
As one datapoint, though, here is what icc says about my testcase:
g/x> icc -c x.cc -Xc -ansi
x.cc(10): error: "Y<dim>::I" is not a class template
Y<dim>::I::I () {} // note: I is nested type in X, not Y!
^
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11987
More information about the Gcc-bugs
mailing list