summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-07-19 01:07:49 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-07-19 01:07:49 +0000
commit09ddc434422eca14c4c3349379926d82f9ed0506 (patch)
treede039881d93a01ed2b0da4212fad5b84826ca796 /libcxx/test
parent349f076330dc18ea12a5c04293de64d0bda5a367 (diff)
downloadbcm5719-llvm-09ddc434422eca14c4c3349379926d82f9ed0506.tar.gz
bcm5719-llvm-09ddc434422eca14c4c3349379926d82f9ed0506.zip
Correct test.
llvm-svn: 135460
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp1
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);
OpenPOWER on IntegriCloud