[libcxx] r339214 - [libcxx] [test] Allow a standard library that implements LWG 1203 in istream.rvalue/rvalue.pass.cpp
Billy Robert O'Neal III via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 7 17:49:02 PDT 2018
Author: bion
Date: Tue Aug 7 17:49:02 2018
New Revision: 339214
URL: http://llvm.org/viewvc/llvm-project?rev=339214&view=rev
Log:
[libcxx] [test] Allow a standard library that implements LWG 1203 in istream.rvalue/rvalue.pass.cpp
(Still pending review at https://reviews.llvm.org/D47400 which has been open since may; will ask for forgiveness rather than permission :) )
Modified:
libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp
Modified: libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp?rev=339214&r1=339213&r2=339214&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp Tue Aug 7 17:49:02 2018
@@ -65,7 +65,7 @@ int main()
{ // test perfect forwarding
assert(called == false);
std::istringstream ss;
- auto& out = (std::move(ss) >> A{});
+ auto&& out = (std::move(ss) >> A{});
assert(&out == &ss);
assert(called);
}
More information about the cfe-commits
mailing list