// Copyright 2025 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include #include #include template void test() { boost::array a = {{}}; T (&e)[ N ] = a.elems; BOOST_TEST_EQ( static_cast( e ), static_cast( &a ) ); } int main() { test(); test(); test(); test(); return boost::report_errors(); }