Skip to content

Commit

Permalink
add line using converting assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
liss-h committed Mar 18, 2024
1 parent 46e07b4 commit eae0750
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tests_flex_array.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ TEST_SUITE("flex_array") {
CHECK_EQ(d.size(), 5);
CHECK_EQ(d.max_size(), 6);
CHECK(std::ranges::equal(s, d));

d = s; // checking if this compiles
}

SUBCASE("dynamic -> static") {
Expand Down

0 comments on commit eae0750

Please sign in to comment.