forked from OSchip/llvm-project
[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:
parent
f2c9a2fee6
commit
58e9f8a2fc
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue