This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11620] Nested class template typedef
- From: "Don at Skyler dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2003 20:16:31 -0000
- Subject: [Bug c++/11620] Nested class template typedef
- References: <20030721201202.11620.Don@Skyler.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11620
------- Additional Comments From Don at Skyler dot com 2003-07-21 20:16 -------
Created an attachment (id=4449)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4449&action=view)
Test case to produce compiler errors
This produces the internal error. Uncommenting //#define CAUSE_INCOMPLETE_TYPE
produces the "incomplete type" error. Commenting out #define CAUSE_CRASH makes
the problem go away by no longer using TemplateTemplate to apply type T to
Temp<I>::Nested. All combinations compile on Comeau's online compiler.