From: Jonathan Wakely Date: Wed, 27 Jul 2016 17:32:45 +0000 (+0100) Subject: * testsuite/20_util/forward/1_neg.cc: Move dg-error to right line. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=427f68c6c2b14b3865f62bb3aaaa75174d574441;p=gcc.git * testsuite/20_util/forward/1_neg.cc: Move dg-error to right line. From-SVN: r238793 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 37f6e32bf07..d164f50a2c8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2016-07-27 Jonathan Wakely + + * testsuite/20_util/forward/1_neg.cc: Move dg-error to right line. + 2016-07-25 Georeth Chow * include/ext/ropeimpl.h (rope<>::_S_dump(_RopeRep*, int)): Qualify diff --git a/libstdc++-v3/testsuite/20_util/forward/1_neg.cc b/libstdc++-v3/testsuite/20_util/forward/1_neg.cc index d2f3477b80a..97851f2df67 100644 --- a/libstdc++-v3/testsuite/20_util/forward/1_neg.cc +++ b/libstdc++-v3/testsuite/20_util/forward/1_neg.cc @@ -27,8 +27,9 @@ template std::shared_ptr factory(A1&& a1, A2&& a2) { - return std::shared_ptr(new T(std::forward(a1), - std::forward(a2))); // { dg-error "rvalue" } + return std::shared_ptr( + new T(std::forward(a1), // { dg-error "rvalue" } + std::forward(a2))); } struct A