diff options
author | Billy Robert O'Neal III <bion@microsoft.com> | 2018-08-08 00:49:02 +0000 |
---|---|---|
committer | Billy Robert O'Neal III <bion@microsoft.com> | 2018-08-08 00:49:02 +0000 |
commit | 58e9f8a2fc0b576f915cb64a792ea6d37700421b (patch) | |
tree | afc3bc78d3812208c15d5d02617fe380f341f751 /libcxx/test/std/input.output | |
parent | f2c9a2fee6669cbd7712427a15b5db8a01099c51 (diff) | |
download | bcm5719-llvm-58e9f8a2fc0b576f915cb64a792ea6d37700421b.tar.gz bcm5719-llvm-58e9f8a2fc0b576f915cb64a792ea6d37700421b.zip |
[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
Diffstat (limited to 'libcxx/test/std/input.output')
-rw-r--r-- | libcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp b/libcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp index 77c41b09ad7..230a59a88ae 100644 --- a/libcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp +++ b/libcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp @@ -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); } |