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:
Billy Robert O'Neal III
2017-11-15 07:45:07 +00:00
parent 9ae62c79cc
commit b981667776
35 changed files with 104 additions and 100 deletions

View File

@@ -22,7 +22,7 @@ test1()
{
typedef std::knuth_b E;
E e1(2);
e1();
(void)e1();
E e2(5);
e2 = e1;
assert(e1 == e2);