Fix tests for complex overloads of std::arg and std::proj
authorJonathan Wakely <jwakely@redhat.com>
Tue, 29 Jan 2019 01:49:36 +0000 (01:49 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 29 Jan 2019 01:49:36 +0000 (01:49 +0000)
commit375d59849a2773e926ce26de006247d6f0a9490d
tree97e9736c15036c1a72d647fa89f3837d4d62472e
parent053a1f232023b15c21bdd8e89f67de21d8aea285
Fix tests for complex overloads of std::arg and std::proj

The test for the synopsis of <complex> incorrectly adds constexpr to
two functions in C++2a mode, but the C++2a draft and the <complex>
header do not declare them constexpr.

* testsuite/26_numerics/headers/complex/synopsis.cc: Remove incorrect
constexpr specifiers from arg and proj.

From-SVN: r268359
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/26_numerics/headers/complex/synopsis.cc