Skip to content

Commit a7ed542

Browse files
committed
drop constexpr
1 parent 94909a3 commit a7ed542

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libcxx/test/std/utilities/intseq/intseq.binding/structured_binding.pass.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@
2222

2323
template <typename...>
2424
void test_structured_bindings() {
25-
constexpr static auto [... empty] = std::make_index_sequence<0>();
25+
auto [... empty] = std::make_index_sequence<0>();
2626
static_assert(sizeof...(empty) == 0);
2727

28-
constexpr static auto [... size4] = std::make_index_sequence<4>();
28+
auto [... size4] = std::make_index_sequence<4>();
2929
static_assert(sizeof...(size4) == 4);
3030

31-
// these cannot yet be static_asserts
3231
assert(size4...[0] == 0);
3332
assert(size4...[1] == 1);
3433
assert(size4...[2] == 2);

0 commit comments

Comments
 (0)