diff options
Diffstat (limited to 'libcxx/test/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp')
-rw-r--r-- | libcxx/test/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp b/libcxx/test/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp index 09b4f7460d7..51cf41fdf71 100644 --- a/libcxx/test/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp +++ b/libcxx/test/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp @@ -21,6 +21,7 @@ int main() { #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES char temp[L_tmpnam]; + tmpnam(temp); { std::fstream fso(temp, std::ios_base::in | std::ios_base::out | std::ios_base::trunc); |