[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 :) )

llvm-svn: 339214
This commit is contained in:
Billy Robert O'Neal III 2018-08-08 00:49:02 +00:00
parent f2c9a2fee6
commit 58e9f8a2fc
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}