https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57335

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Kai Tietz from comment #6)
> t_pr57335.C:29:5: error: accessing 'BitsOrderCheck::Data::bits' member
> instead of initialized 'BitsOrderCheck::Data::byte' member in constant
> expression

Yes, that's the desired behavior for this testcase.

Reply via email to