Boost logo

Boost-Commit :

From: joel_at_[hidden]
Date: 2007-08-01 20:25:51


Author: djowel
Date: 2007-08-01 20:25:50 EDT (Wed, 01 Aug 2007)
New Revision: 38349
URL: http://svn.boost.org/trac/boost/changeset/38349

Log:
bug fix. rule.copy()
Text files modified:
   trunk/libs/spirit/test/rule_tests.cpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/libs/spirit/test/rule_tests.cpp
==============================================================================
--- trunk/libs/spirit/test/rule_tests.cpp (original)
+++ trunk/libs/spirit/test/rule_tests.cpp 2007-08-01 20:25:50 EDT (Wed, 01 Aug 2007)
@@ -158,6 +158,9 @@
     BOOST_TEST(pi.hit);
     BOOST_TEST(!pi.full);
     BOOST_TEST(pi.length == 14);
+
+ rule<> r = anychar_p;
+ r.copy(); // copy test (compile only)
 }
 
 void


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk