1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:07:36 +00:00

Tests/AK: Add a test for the array ctor deduction guide

This commit is contained in:
Nico Weber 2024-02-08 18:56:29 -05:00 committed by Ali Mohammad Pur
parent d84b69ace9
commit 986872800e

View file

@ -19,7 +19,7 @@ static constexpr int constexpr_sum(ReadonlySpan<int> const span)
TEST_CASE(compile_time_constructible)
{
constexpr Array<int, 4> array = { 0, 1, 2, 3 };
constexpr Array array = { 0, 1, 2, 3 };
static_assert(array.size() == 4);
}