[Bug c++/26912] [4.0/4.1/4.2 Regression] friend const member function specialization fails to compile
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 29 09:32:00 GMT 2006
------- Comment #1 from rguenth at gcc dot gnu dot org 2006-03-29 09:32 -------
Confirmed.
struct Foo {
template<class T> int func() ;
};
class Bar {
friend int Foo::func<int>() const ; // line 6
};
is also invalidly accepted.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |accepts-invalid, rejects-
| |valid
Known to fail| |3.3.5 4.0.3 4.1.0 4.2.0
Known to work| |3.4.6
Last reconfirmed|0000-00-00 00:00:00 |2006-03-29 09:32:16
date| |
Summary|friend const member function|[4.0/4.1/4.2 Regression]
|specialization fails to |friend const member function
|compile |specialization fails to
| |compile
Target Milestone|--- |4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26912
More information about the Gcc-bugs
mailing list