We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 679fbf0 commit d8790a1Copy full SHA for d8790a1
libcxx/test/libcxx/diagnostics/array.nodiscard.verify.cpp
@@ -57,7 +57,7 @@ void test_members() {
57
58
template <typename ArrT>
59
void test_get() {
60
- std::array<int> a{};
+ std::array<int, 94> a{};
61
62
// expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}}
63
std::get<0>(a);
0 commit comments