http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48798
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-04-28 12:10:04 UTC --- The testcase is tiny, might as well be in a comment rather than separate as an attachment: typedef struct A {} const t; struct B : t {};