From eb79a48868137dd83b83f0bea4819cf840fa11d8 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Fri, 6 Jul 2007 20:48:04 +0000 Subject: [PATCH] testing zero length sequences have converting ctors [SVN r38156] --- test/sequence/construction.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/sequence/construction.hpp b/test/sequence/construction.hpp index a35e9d89..6c289749 100644 --- a/test/sequence/construction.hpp +++ b/test/sequence/construction.hpp @@ -7,6 +7,7 @@ ==============================================================================*/ #include #include +#include #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 t1; BOOST_TEST(FUSION_AT<0>(t1) == int());