diff options
author | Billy Robert O'Neal III <bion@microsoft.com> | 2017-11-15 07:45:07 +0000 |
---|---|---|
committer | Billy Robert O'Neal III <bion@microsoft.com> | 2017-11-15 07:45:07 +0000 |
commit | b9816677762c5dc7957a0c92a506505b12231580 (patch) | |
tree | cb6c6c3b1db5191fe74c3b2a335dceaedf02a964 /test/std/numerics/rand/rand.adapt/rand.adapt.shuf/copy.pass.cpp | |
parent | 9ae62c79cc771ff6cefcd2a98f69ecf7b40ebd71 (diff) |
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
Diffstat (limited to 'test/std/numerics/rand/rand.adapt/rand.adapt.shuf/copy.pass.cpp')
-rw-r--r-- | test/std/numerics/rand/rand.adapt/rand.adapt.shuf/copy.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/copy.pass.cpp b/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/copy.pass.cpp index c9e9893de..de26e2dc7 100644 --- a/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/copy.pass.cpp +++ b/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/copy.pass.cpp @@ -22,7 +22,7 @@ test1() { typedef std::knuth_b E; E e1; - e1(); + (void)e1(); E e2 = e1; assert(e1 == e2); assert(e1() == e2()); |