diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-04-17 20:27:19 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-04-17 20:27:19 +0100 |
commit | 9d3e662d294a2861a1c8fb9825edd11013d621c1 (patch) | |
tree | acc7b47fe11a6e27934c8299fc53839156946ff1 /gcc/c/c-decl.c | |
parent | 747742f6f3c80d04109b55ad1e90a77eac3ffd88 (diff) | |
download | gcc-9d3e662d294a2861a1c8fb9825edd11013d621c1.zip gcc-9d3e662d294a2861a1c8fb9825edd11013d621c1.tar.gz gcc-9d3e662d294a2861a1c8fb9825edd11013d621c1.tar.bz2 |
Fix tests for std::variant to match original intention
* testsuite/20_util/variant/compile.cc (MoveCtorOnly): Fix type to
actually match its name.
(MoveCtorAndSwapOnly): Define new type that adds swap to MoveCtorOnly.
(test_swap()): Fix result for MoveCtorOnly and check
MoveCtorAndSwapOnly.
From-SVN: r270423
Diffstat (limited to 'gcc/c/c-decl.c')
0 files changed, 0 insertions, 0 deletions