[Bug c++/11782] confusing error messages
lerdsuwa at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 5 16:24:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11782
lerdsuwa at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-08-05 16:24 -------
The following should work. I tested it with several versions of GCC from 2.95
to 3.3.
template<typename U> class Foo { };
class Bar {
template<typename U> friend class Foo;
};
int main()
{
}
More information about the Gcc-bugs
mailing list