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:
parent
d84b69ace9
commit
986872800e
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user