Skip to content

Commit 06a40cf

Browse files
committed
Do not silent additional errors from instantiating std::atomic
1 parent 67baf5e commit 06a40cf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

libcxx/test/std/atomics/atomics.types.generic/trivially_copyable.verify.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@
1111
// template <class T>
1212
// struct atomic;
1313

14-
// This test checks that we static_assert inside std::atomic<T> when T
15-
// is not trivially copyable, however Clang will sometimes emit additional
16-
// errors while trying to instantiate the rest of std::atomic<T>.
17-
// We silence those to make the test more robust.
18-
// ADDITIONAL_COMPILE_FLAGS: -Xclang -verify-ignore-unexpected=error
19-
2014
#include <atomic>
2115

2216
struct NotTriviallyCopyable {

0 commit comments

Comments
 (0)