1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 09:40:45 +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);
}