diff options
Diffstat (limited to 'libcxx/test/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp')
| -rw-r--r-- | libcxx/test/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp b/libcxx/test/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp index b8ed752da3e..7f3ca15c7c0 100644 --- a/libcxx/test/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp +++ b/libcxx/test/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp @@ -19,7 +19,7 @@ int main() { -#ifdef _LIBCPP_MOVE +#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES { std::ifstream fso("test.dat"); std::ifstream fs = move(fso); @@ -34,5 +34,5 @@ int main() fs >> x; assert(x == 3.25); } -#endif // _LIBCPP_MOVE +#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES } |

