// PR c++/48798 typedef struct A {} const t; struct B : t {};