------- Comment #2 from pinskia at gcc dot gnu dot org 2007-05-09 17:23 ------- I don't think this is a bug. class B is dependent so the inherited elements are not seen. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31881