[libcxx-commits] [libcxx] r369672 - [libc++] Mark lock_guard nodiscard test as unsupported in C++03

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 22 10:24:25 PDT 2019


Author: ldionne
Date: Thu Aug 22 10:24:24 2019
New Revision: 369672

URL: http://llvm.org/viewvc/llvm-project?rev=369672&view=rev
Log:
[libc++] Mark lock_guard nodiscard test as unsupported in C++03

Modified:
    libcxx/trunk/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.fail.cpp

Modified: libcxx/trunk/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.fail.cpp?rev=369672&r1=369671&r2=369672&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.fail.cpp (original)
+++ libcxx/trunk/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.fail.cpp Thu Aug 22 10:24:24 2019
@@ -12,6 +12,9 @@
 // UNSUPPORTED: clang-6, clang-7, clang-8, clang-9
 // UNSUPPORTED: apple-clang-9, apple-clang-10, apple-clang-11
 
+// [[nodiscard]] isn't supported in C++98 and C++03 (not even as an extension)
+// UNSUPPORTED: c++98, c++03
+
 // <mutex>
 
 // template <class Mutex> class lock_guard;




More information about the libcxx-commits mailing list