This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal Error, Test<void> instantiation
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Internal Error, Test<void> instantiation
- From: Carl Nygard <cnygard at bellatlantic dot net>
- Date: Thu, 30 Sep 1999 20:53:10 -0400
Here is a trivial problem, but the compiler generates an Internal
error...
template <class RT>
class Test {
Test(const RT& rt = RT()) {}
};
The '= RT()' part is what causes the compiler error. without it, it
generates normal messages.
Regards,
Carl
bug2.tar.gz