------- Comment #5 from mmitchel at gcc dot gnu dot org 2006-06-04 18:52 ------- This patch is OK.
As per the mailing list, it might be better to do this after the call to unqualified_id, as this patch may issue odd diagnostics about things like "using ::~3"; it might be better to say "invalid unqualified id" than "destructors not allowed" in that case. But, that's a minor point. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27508