Files
bison/tests
Akim Demaille 21eeee46e9 tests: prepare a test for automove
The 'Variants' tests are well suited to check support for move, and in
particular for the forthcoming automove feature.  But the tests were
written to show the best practice in C++98, using swap:

    list "," item { std::swap ($$, $1); $$.push_back ($3); }

This cannot work with std::move.  So, make this example simpler, based
on regular assignment instead of swap, which is a regression for
C++98 (as the new traces show), but will be an improvement for modern
C++ with automove.

* tests/c++.at (Variants): Stop using swap.
We don't generate a header file, so remove the 'require' code section.
Adjust expectations.
2018-09-22 08:22:48 +02:00
..
2008-11-16 19:46:16 +01:00
2018-05-12 18:18:41 +02:00
2018-09-22 08:22:48 +02:00
2018-09-06 21:28:24 +02:00
2018-09-13 19:01:33 +02:00
2018-08-11 18:09:29 +02:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00
2018-09-20 06:30:46 +02:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00
2018-06-17 18:43:59 +02:00
2018-05-12 18:18:41 +02:00
2018-08-11 18:09:29 +02:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00
2018-09-18 13:21:38 +02:00