Skip to content

Commit d8790a1

Browse files
committed
Fix
1 parent 679fbf0 commit d8790a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/libcxx/diagnostics/array.nodiscard.verify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void test_members() {
5757

5858
template <typename ArrT>
5959
void test_get() {
60-
std::array<int> a{};
60+
std::array<int, 94> a{};
6161

6262
// expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}}
6363
std::get<0>(a);

0 commit comments

Comments
 (0)