Mark [[nodiscard]] tests unsupported on GCC prior to 7.0
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@342821 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -10,6 +10,9 @@
|
|||||||
|
|
||||||
// UNSUPPORTED: c++98, c++03
|
// UNSUPPORTED: c++98, c++03
|
||||||
|
|
||||||
|
// GCC versions prior to 7.0 don't provide the required [[nodiscard]] attribute.
|
||||||
|
// UNSUPPORTED: gcc-4, gcc-5, gcc-6
|
||||||
|
|
||||||
// Test that entities declared [[nodiscard]] as at extension by libc++, are
|
// Test that entities declared [[nodiscard]] as at extension by libc++, are
|
||||||
// only actually declared such when _LIBCPP_ENABLE_NODISCARD is specified.
|
// only actually declared such when _LIBCPP_ENABLE_NODISCARD is specified.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user