This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Add test for DR 1940 - static_assert in anonymous unions


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  <polacek@redhat.com>

	DR 1940 - static_assert in anonymous unions.
	* g++.dg/DRs/dr1940.C: New test.

OK.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]