aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-decl.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-04-17 20:27:19 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-04-17 20:27:19 +0100
commit9d3e662d294a2861a1c8fb9825edd11013d621c1 (patch)
treeacc7b47fe11a6e27934c8299fc53839156946ff1 /gcc/c/c-decl.c
parent747742f6f3c80d04109b55ad1e90a77eac3ffd88 (diff)
downloadgcc-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