[libcxx] r242967 - Mark this test as XFAIL with older compilers, since they hit PR18097

Justin Bogner mail at justinbogner.com
Wed Jul 22 16:32:57 PDT 2015


Author: bogner
Date: Wed Jul 22 18:32:57 2015
New Revision: 242967

URL: http://llvm.org/viewvc/llvm-project?rev=242967&view=rev
Log:
Mark this test as XFAIL with older compilers, since they hit PR18097

Modified:
    libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp

Modified: libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp?rev=242967&r1=242966&r2=242967&view=diff
==============================================================================
--- libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp Wed Jul 22 18:32:57 2015
@@ -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
+
 // <atomic>
 
 // constexpr atomic<T>::atomic(T value)





More information about the cfe-commits mailing list