Bladeren bron

Move more _LIBCPP_VERSION tests to test/libcxx.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273365 91177308-0d34-0410-b5e6-96231b3b80d8
Eric Fiselier 9 jaren geleden
bovenliggende
commit
67ec8a281b

+ 0 - 0
test/std/atomics/version.pass.cpp → test/libcxx/atomics/version.pass.cpp


+ 20 - 0
test/libcxx/diagnostics/assertions/version_cassert.pass.cpp

@@ -0,0 +1,20 @@
+//===----------------------------------------------------------------------===//
+//
+//                     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.
+//
+//===----------------------------------------------------------------------===//
+
+// test <cassert>
+
+#include <cassert>
+
+#ifndef _LIBCPP_VERSION
+#error _LIBCPP_VERSION not defined
+#endif
+
+int main()
+{
+}

+ 19 - 0
test/libcxx/diagnostics/errno/version_cerrno.pass.cpp

@@ -0,0 +1,19 @@
+// -*- 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.
+//
+//===----------------------------------------------------------------------===//
+
+// test <cerrno>
+
+#include <cerrno>
+
+#ifndef _LIBCPP_VERSION
+#error _LIBCPP_VERSION not defined
+#endif
+
+int main() {}

+ 0 - 0
test/std/diagnostics/std.exceptions/version.pass.cpp → test/libcxx/diagnostics/std.exceptions/version.pass.cpp


+ 0 - 0
test/std/diagnostics/syserr/version.pass.cpp → test/libcxx/diagnostics/syserr/version.pass.cpp


+ 0 - 0
test/std/experimental/optional/version.pass.cpp → test/libcxx/experimental/optional/version.pass.cpp


+ 0 - 0
test/std/experimental/utilities/meta/version.pass.cpp → test/libcxx/experimental/utilities/meta/version.pass.cpp


+ 0 - 0
test/std/experimental/utilities/utility/version.pass.cpp → test/libcxx/experimental/utilities/utility/version.pass.cpp


+ 0 - 0
test/std/strings/c.strings/version_cctype.pass.cpp → test/libcxx/strings/c.strings/version_cctype.pass.cpp


+ 0 - 0
test/std/strings/c.strings/version_cstring.pass.cpp → test/libcxx/strings/c.strings/version_cstring.pass.cpp


+ 0 - 0
test/std/strings/c.strings/version_cuchar.pass.cpp → test/libcxx/strings/c.strings/version_cuchar.pass.cpp


+ 0 - 0
test/std/strings/c.strings/version_cwchar.pass.cpp → test/libcxx/strings/c.strings/version_cwchar.pass.cpp


+ 0 - 0
test/std/strings/c.strings/version_cwctype.pass.cpp → test/libcxx/strings/c.strings/version_cwctype.pass.cpp


+ 0 - 0
test/std/strings/version.pass.cpp → test/libcxx/strings/version.pass.cpp


+ 0 - 0
test/std/thread/thread.condition/version.pass.cpp → test/libcxx/thread/thread.condition/version.pass.cpp


+ 0 - 0
test/std/thread/thread.mutex/version.pass.cpp → test/libcxx/thread/thread.mutex/version.pass.cpp


+ 0 - 0
test/std/thread/thread.threads/version.pass.cpp → test/libcxx/thread/thread.threads/version.pass.cpp


+ 0 - 4
test/std/diagnostics/assertions/cassert.pass.cpp

@@ -15,10 +15,6 @@
 #error assert not defined
 #endif
 
-#ifndef _LIBCPP_VERSION
-#error _LIBCPP_VERSION not defined
-#endif
-
 int main()
 {
 }

+ 0 - 4
test/std/diagnostics/errno/cerrno.pass.cpp

@@ -12,10 +12,6 @@
 
 #include <cerrno>
 
-#ifndef _LIBCPP_VERSION
-#error _LIBCPP_VERSION not defined
-#endif
-
 #ifndef E2BIG
 #error E2BIG not defined
 #endif