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:
@@ -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("", "");
|
||||
}
|
||||
@@ -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("", "");
|
||||
}
|
||||
Reference in New Issue
Block a user