Ensure "C++" language linkage for std::abs overloads
authorJonathan Wakely <jwakely@redhat.com>
Mon, 3 Oct 2016 11:50:46 +0000 (12:50 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 3 Oct 2016 11:50:46 +0000 (12:50 +0100)
commit6a0d23af49e16577418566ab4fb165fea2efe286
tree00f6965a3a89bc05af5c114be662848901442b64
parent3fe2ddae4b15a17184237097a5c9363eb94fe99a
Ensure "C++" language linkage for std::abs overloads

PR libstdc++/77814
* include/bits/std_abs.h: Use "C++" language linkage.
* testsuite/17_intro/headers/c++2011/linkage.cc: Move <complex.h> to
the end. Add <stdalign.h>.

From-SVN: r240710
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/std_abs.h
libstdc++-v3/testsuite/17_intro/headers/c++2011/linkage.cc