------- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-12 19:44 ------- the error message is slightly wrongly written but this is true for any local typedef, I can find the other bug where templates are not involved.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36813