------- Comment #3 from rguenth at gcc dot gnu dot org 2007-09-22 07:59 ------- Yes, this is what debugging cc1plus reveals - the typedef-name type decl is still incomplete. Now, the question is if this is valid C++ or not ;) Using foo_bar instead of bar works as well (though foo_bar also is incomplete).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33516