From 91966ae5244c6fda7ed53e6a5a0767cb3b34a65e Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Tue, 21 Apr 2015 03:45:39 +0800 Subject: [PATCH] added test case for https://svn.boost.org/trac/boost/ticket/11211 --- test/sequence/define_struct.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/sequence/define_struct.cpp b/test/sequence/define_struct.cpp index 795fdf6e..cd65ad09 100644 --- a/test/sequence/define_struct.cpp +++ b/test/sequence/define_struct.cpp @@ -24,6 +24,13 @@ BOOST_FUSION_DEFINE_STRUCT( (int, y) ) +// Tutorial (compile test only) +BOOST_FUSION_DEFINE_STRUCT( + (demo), employee, + (std::string, name) + (int, age) +) + BOOST_FUSION_DEFINE_STRUCT(BOOST_PP_EMPTY(), s, (int, m)) int @@ -102,4 +109,3 @@ main() return boost::report_errors(); } -