git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@302864 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
553 B
C++
18 lines
553 B
C++
//===----------------------------------------------------------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
|
// Source Licenses. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// REQUIRES: libcpp-has-no-global-filesystem-namespace
|
|
|
|
#include <cstdio>
|
|
|
|
int main() {
|
|
// rename is not available on systems without a global filesystem namespace.
|
|
std::rename("", "");
|
|
}
|