http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47436
Summary: Variadic base-specifier-list of union rejected Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: schaub.johan...@googlemail.com GCC doesn't accept this template<typename ...T> union A : T... { }; A<> a; It complains at parse time of "A" about "error: derived union 'A<T>' invalid". However it doesn't know at that time whether or not the union will have bases yet when instantiated.