diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-08-20 16:52:22 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-08-21 09:48:57 +0100 |
commit | 1e10b3b8825ee398f077500af6ae1f5db180983a (patch) | |
tree | 4af25c1c988400f4d43fe34057dafe0a5f7c8ada /gcc | |
parent | 3949b7c0a87475692d1727086bdccb8133c53497 (diff) | |
download | gcc-1e10b3b8825ee398f077500af6ae1f5db180983a.zip gcc-1e10b3b8825ee398f077500af6ae1f5db180983a.tar.gz gcc-1e10b3b8825ee398f077500af6ae1f5db180983a.tar.bz2 |
libstdc++: Fix std::variant to reject array types [PR116381]
libstdc++-v3/ChangeLog:
PR libstdc++/116381
* include/std/variant (variant): Fix conditions for
static_assert to match the spec.
* testsuite/20_util/variant/types_neg.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions