From 3a59ae67834165ec18dc85563992ae58f9c38969 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Wed, 22 Jul 2015 23:32:57 +0000 Subject: [PATCH] Mark this test as XFAIL with older compilers, since they hit PR18097 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@242967 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../atomics.types.operations.req/ctor.pass.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp b/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp index 0eda2338..f85172a0 100644 --- a/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp +++ b/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp @@ -10,6 +10,10 @@ // UNSUPPORTED: libcpp-has-no-threads // UNSUPPORTED: c++98, c++03 +// NOTE: atomic<> of a TriviallyCopyable class is wrongly rejected by older +// clang versions. It was fixed right before the llvm 3.5 release. See PR18097. +// XFAIL: apple-clang-6.0, clang-3.4, clang-3.3 + // // constexpr atomic::atomic(T value)