Skip to content

Commit ffbced7

Browse files
committed
Disable initializer list test for GCC < 4.9 and Clang < 3.8
1 parent 37289c5 commit ffbced7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/to_array_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,15 @@ int main()
8383
}
8484
#endif
8585

86+
#if !BOOST_WORKAROUND(BOOST_GCC, < 40900) && !BOOST_WORKAROUND(BOOST_CLANG_VERSION, < 30800)
8687
{
8788
boost::array<int, 3> b = boost::to_array({ 1, 2, 3 });
8889

8990
BOOST_TEST_EQ( b[0], 1 );
9091
BOOST_TEST_EQ( b[1], 2 );
9192
BOOST_TEST_EQ( b[2], 3 );
9293
}
94+
#endif
9395

9496
#if !BOOST_WORKAROUND(BOOST_MSVC, < 1920)
9597
{

0 commit comments

Comments
 (0)