]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix test that uses C++17 variable template in C++14
authorJonathan Wakely <jwakely@redhat.com>
Thu, 10 Nov 2022 14:04:07 +0000 (14:04 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 11 Nov 2022 04:00:58 +0000 (04:00 +0000)
commit56d2222c58be78d5125bd8a1069364f0f4b2baa2
tree6cbce515301eed02ebdd67cbbd871d9e581e1d36
parentb3ac43a3c05744d62a963d656bed782fc867ad79
libstdc++: Fix test that uses C++17 variable template in C++14

This test fails if run with -std=gnu++14 because it should be using
is_convertible instead of is_convertible_v.

libstdc++-v3/ChangeLog:

* testsuite/experimental/propagate_const/observers/107525.cc:
Use type trait instead of C++17 variable template.
libstdc++-v3/testsuite/experimental/propagate_const/observers/107525.cc