https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105452
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- If v is dependent, the testcase last worked in 4.5. template <typename T> struct C { union { T v; static_assert(sizeof(v) == sizeof(char), ""); }; }; int main() { C<char> x; }