Fix tests that fail when compiled without optimisation
authorJonathan Wakely <jwakely@redhat.com>
Tue, 16 Oct 2018 12:06:05 +0000 (13:06 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 16 Oct 2018 12:06:05 +0000 (13:06 +0100)
commitb57d432bdd7d16e552c24ef80777eb27ecb1f973
tree4fb02e3039b11c7688cdc2074a4a2c93136338ed
parentd30096b45f5de7633555972a82ccc7713b09c84d
Fix tests that fail when compiled without optimisation

* testsuite/20_util/duration/literals/range_neg.cc: Adjust pruned
diagnostic to account for quotes around 'constexpr'.
* testsuite/23_containers/deque/capacity/max_size.cc: Define static
variable.
* testsuite/23_containers/vector/capacity/max_size.cc: Likewise.

From-SVN: r265190
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/duration/literals/range_neg.cc
libstdc++-v3/testsuite/23_containers/deque/capacity/max_size.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/max_size.cc