http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49129
--- Comment #1 from Nathan Froyd <froydnj at gcc dot gnu.org> 2011-05-24 13:30:16 UTC --- I believe I tried to do that at one point; you can see the comment in cp/parser.c:class_specifier_1 about handling user-defined types. I might not have been clever enough, though. It'd certainly be helpful.