On 5/21/19 11:11 AM, Marek Polacek wrote:
<http://wg21.link/cwg1940> clarified that static_assert in anonymous unions are permitted, but nowhere in the testsuite do we test that.Tested on x86_64-linux, ok for trunk? 2019-05-21 Marek Polacek <pola...@redhat.com> DR 1940 - static_assert in anonymous unions. * g++.dg/DRs/dr1940.C: New test.
OK. Jason