Tolerate even more [[nodiscard]] in the STL. Reviewed as https://reviews.llvm.org/D39080
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@318277 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -38,7 +38,7 @@ int main()
|
||||
try
|
||||
{
|
||||
std::random_device r("/dev/null");
|
||||
r();
|
||||
(void)r();
|
||||
LIBCPP_ASSERT(false);
|
||||
}
|
||||
catch (const std::system_error&)
|
||||
|
||||
Reference in New Issue
Block a user