------- Comment #3 from jakub at gcc dot gnu dot org 2008-07-30 12:39 ------- I think there are many bugs that are only reported when a template is instantiated, and this is just one of them. If you add B<int> b; to the testcase, it will be rejected. IMHO this isn't a bug.
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35324