summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/thread.mutex
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-09-24 22:13:17 +0000
committerLouis Dionne <ldionne@apple.com>2019-09-24 22:13:17 +0000
commitee9a468d9ce6feace0374fdc0fd7064e6f33d4b3 (patch)
tree8f0e2771f1ac9637a6000981e01e0957de9643f1 /libcxx/test/std/thread/thread.mutex
parent06b3e3421af6d8bf027a19133380833c2df0ffb9 (diff)
downloadbcm5719-llvm-ee9a468d9ce6feace0374fdc0fd7064e6f33d4b3.tar.gz
bcm5719-llvm-ee9a468d9ce6feace0374fdc0fd7064e6f33d4b3.zip
[libc++] Try fixing tests that fail on GCC 5 and older
llvm-svn: 372782
Diffstat (limited to 'libcxx/test/std/thread/thread.mutex')
-rw-r--r--libcxx/test/std/thread/thread.mutex/thread.lock/types.fail.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/thread.mutex/thread.lock/types.fail.cpp b/libcxx/test/std/thread/thread.mutex/thread.lock/types.fail.cpp
index 56fbc90a63d..ffe14ca8911 100644
--- a/libcxx/test/std/thread/thread.mutex/thread.lock/types.fail.cpp
+++ b/libcxx/test/std/thread/thread.mutex/thread.lock/types.fail.cpp
@@ -8,9 +8,12 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03
-
// UNSUPPORTED: libcpp-has-no-threads
+// Before GCC 6, aggregate initialization kicks in.
+// See https://stackoverflow.com/q/41799015/627587.
+// UNSUPPORTED: gcc-4, gcc-5
+
// <mutex>
// struct defer_lock_t { explicit defer_lock_t() = default; };
OpenPOWER on IntegriCloud