+2016-07-27 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/20_util/forward/1_neg.cc: Move dg-error to right line.
+
2016-07-25 Georeth Chow <georeth2010@gmail.com>
* include/ext/ropeimpl.h (rope<>::_S_dump(_RopeRep*, int)): Qualify
std::shared_ptr<T>
factory(A1&& a1, A2&& a2)
{
- return std::shared_ptr<T>(new T(std::forward<A1>(a1),
- std::forward<A2>(a2))); // { dg-error "rvalue" }
+ return std::shared_ptr<T>(
+ new T(std::forward<A1>(a1), // { dg-error "rvalue" }
+ std::forward<A2>(a2)));
}
struct A