Correct test.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@135460 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
541cb301a1
commit
bf6666f7a0
@ -21,6 +21,7 @@ int main()
|
|||||||
{
|
{
|
||||||
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
|
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
|
||||||
char temp[L_tmpnam];
|
char temp[L_tmpnam];
|
||||||
|
tmpnam(temp);
|
||||||
{
|
{
|
||||||
std::fstream fso(temp, std::ios_base::in | std::ios_base::out
|
std::fstream fso(temp, std::ios_base::in | std::ios_base::out
|
||||||
| std::ios_base::trunc);
|
| std::ios_base::trunc);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user