https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107461
--- Comment #10 from Patrick Palka <ppalka at gcc dot gnu.org> --- (In reply to Patrick Palka from comment #9) > If we remove the line #1 then this bogus error disappears. The line 'B<int> b;' rather.