summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/test/libcxx/thread/thread.mutex/thread.lock/thread.lock.guard/variadic_mutex_mangling.pass.cpp6
1 files changed, 5 insertions, 1 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
index ba9ab91a772..aae0afbffd3 100644
--- 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
@@ -9,6 +9,10 @@
//
// 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
+
// THIS TESTS C++03 EXTENSIONS.
// <mutex>
@@ -21,9 +25,9 @@
#define _LIBCPP_ABI_VARIADIC_LOCK_GUARD
#include <mutex>
+#include <string>
#include <typeinfo>
#include <cassert>
-#include <iostream>
int main() {
const std::string expect = "NSt3__110lock_guardIJNS_5mutexEEEE";
OpenPOWER on IntegriCloud