testing zero length sequences have converting ctors

[SVN r38156]
This commit is contained in:
Dan Marsden
2007-07-06 20:48:04 +00:00
parent 3612acb0ef
commit eb79a48868

View File

@ -7,6 +7,7 @@
==============================================================================*/
#include <boost/detail/lightweight_test.hpp>
#include <boost/fusion/sequence/intrinsic/at.hpp>
#include <boost/fusion/sequence/container/list/cons.hpp>
#if !defined(FUSION_AT)
#define FUSION_AT at_c
@ -52,6 +53,12 @@ test()
using namespace boost::fusion;
using namespace test_detail;
nil empty;
FUSION_SEQUENCE<> empty0;
FUSION_SEQUENCE<> empty1(empty);
FUSION_SEQUENCE<int> t1;
BOOST_TEST(FUSION_AT<0>(t1) == int());