------- Comment #1 from reichelt at gcc dot gnu dot org 2006-12-11 21:12 ------- Sorry, forgot to add the error message:
bug.cc:3: error: 'X' was not declared in this scope bug.cc:3: internal compiler error: tree check: expected var_decl, have field_decl in cp_finish_decl, at cp/decl.c:5092 Please submit a full bug report, [etc.] -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30156