diff options
author | Alexis Hunt <alercah@gmail.com> | 2011-07-18 23:51:21 +0000 |
---|---|---|
committer | Alexis Hunt <alercah@gmail.com> | 2011-07-18 23:51:21 +0000 |
commit | 483cf2454756d623ea202c8ae733d9a954b9a8d7 (patch) | |
tree | bc242419f5b4c7a9918ae4f2029fb30694de2ed6 /libcxx/test/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp | |
parent | 353404d924602c1af78315114e67328036d26f94 (diff) | |
download | bcm5719-llvm-483cf2454756d623ea202c8ae733d9a954b9a8d7.tar.gz bcm5719-llvm-483cf2454756d623ea202c8ae733d9a954b9a8d7.zip |
Make all fstream tests use tmpnam if creating files, rather than
hard-coded names.
llvm-svn: 135444
Diffstat (limited to 'libcxx/test/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp')
-rw-r--r-- | libcxx/test/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp b/libcxx/test/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp index c2872913f9f..23795f010a5 100644 --- a/libcxx/test/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp +++ b/libcxx/test/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp @@ -19,7 +19,7 @@ int main() { - char temp [L_tmpnam]; + char temp[L_tmpnam]; tmpnam(temp); { std::fstream fs(std::string(temp), |