Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80800 - trunk/libs/spirit/test/qi
From: joel_at_[hidden]
Date: 2012-09-30 20:04:26


Author: djowel
Date: 2012-09-30 20:04:26 EDT (Sun, 30 Sep 2012)
New Revision: 80800
URL: http://svn.boost.org/trac/boost/changeset/80800

Log:
test overlapping symbols
Text files modified:
   trunk/libs/spirit/test/qi/symbols1.cpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/libs/spirit/test/qi/symbols1.cpp
==============================================================================
--- trunk/libs/spirit/test/qi/symbols1.cpp (original)
+++ trunk/libs/spirit/test/qi/symbols1.cpp 2012-09-30 20:04:26 EDT (Sun, 30 Sep 2012)
@@ -145,6 +145,7 @@
             ("Tutit", 4)
             ("Kim", 5)
             ("Joey", 6)
+ ("Joeyboy", 7)
         ;
 
         int i;
@@ -160,6 +161,8 @@
         BOOST_TEST(i == 5);
         BOOST_TEST((test_attr("Joey", sym, i)));
         BOOST_TEST(i == 6);
+ BOOST_TEST((test_attr("Joeyboy", sym, i)));
+ BOOST_TEST(i == 7);
         BOOST_TEST((!test_attr("XXX", sym, i)));
 
         // double add:


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