summaryrefslogtreecommitdiffstats
path: root/libcxx/test/libcxx/thread
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2017-03-24 03:40:36 +0000
committerMarshall Clow <mclow.lists@gmail.com>2017-03-24 03:40:36 +0000
commit6015dd11c875b9467c93221f19e5d59b0522757a (patch)
treedde732f117aad6ed353d8d067f047f1d0ce663e6 /libcxx/test/libcxx/thread
parent36f2e0eee834fca853e6e0df6b4fa76b06c0f329 (diff)
downloadbcm5719-llvm-6015dd11c875b9467c93221f19e5d59b0522757a.tar.gz
bcm5719-llvm-6015dd11c875b9467c93221f19e5d59b0522757a.zip
Implement Pp0156r2: 'Variadic Lock Guard, version 5' Reviewed as https://reviews.llvm.org/D31163.
llvm-svn: 298681
Diffstat (limited to 'libcxx/test/libcxx/thread')
-rw-r--r--libcxx/test/libcxx/thread/thread.mutex/thread.lock/thread.lock.guard/variadic_mutex_mangling.pass.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/libcxx/test/libcxx/thread/thread.mutex/thread.lock/thread.lock.guard/variadic_mutex_mangling.pass.cpp b/libcxx/test/libcxx/thread/thread.mutex/thread.lock/thread.lock.guard/variadic_mutex_mangling.pass.cpp
deleted file mode 100644
index 7e4fe2267fe..00000000000
--- a/libcxx/test/libcxx/thread/thread.mutex/thread.lock/thread.lock.guard/variadic_mutex_mangling.pass.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
-//===----------------------------------------------------------------------===//
-//
-// 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.
-//
-//===----------------------------------------------------------------------===//
-//
-// UNSUPPORTED: libcpp-has-no-threads
-
-// TODO(EricWF) Investigate why typeid(...).name() returns a different string
-// on GCC 4.9 but not newer GCCs.
-// XFAIL: gcc-4.9
-// XFAIL: windows
-
-// THIS TESTS C++03 EXTENSIONS.
-
-// <mutex>
-
-// template <class ...Mutex> class lock_guard;
-
-// Test that the the variadic lock guard implementation mangles the same in
-// C++11 and C++03. This is important since the mangling of `lock_guard` depends
-// on it being declared as a variadic template, even in C++03.
-
-// MODULES_DEFINES: _LIBCPP_ABI_VARIADIC_LOCK_GUARD
-#define _LIBCPP_ABI_VARIADIC_LOCK_GUARD
-#include <mutex>
-#include <string>
-#include <typeinfo>
-#include <cassert>
-
-int main() {
- const std::string expect = "NSt3__110lock_guardIJNS_5mutexEEEE";
- assert(typeid(std::lock_guard<std::mutex>).name() == expect);
-}
OpenPOWER on IntegriCloud