Move tests for libc++ configurations into libcxx/ test subdirectory

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@302864 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-05-12 01:49:32 +00:00
parent 2d31e197db
commit b22e6987b8
3 changed files with 4 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
//===----------------------------------------------------------------------===//
//
// 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() {
// fopen is not available on systems without a global filesystem namespace.
std::fopen("", "");
}

View File

@@ -0,0 +1,17 @@
//===----------------------------------------------------------------------===//
//
// 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("", "");
}