Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48969 - trunk/libs/spirit/phoenix/test/operator
From: joel_at_[hidden]
Date: 2008-09-25 20:58:28


Author: djowel
Date: 2008-09-25 20:58:27 EDT (Thu, 25 Sep 2008)
New Revision: 48969
URL: http://svn.boost.org/trac/boost/changeset/48969

Log:
added test from review of Giovanni Piero Deretta
Text files modified:
   trunk/libs/spirit/phoenix/test/operator/member.cpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/libs/spirit/phoenix/test/operator/member.cpp
==============================================================================
--- trunk/libs/spirit/phoenix/test/operator/member.cpp (original)
+++ trunk/libs/spirit/phoenix/test/operator/member.cpp 2008-09-25 20:58:27 EDT (Thu, 25 Sep 2008)
@@ -44,6 +44,8 @@
     BOOST_TEST(test.value == 2);
 
     BOOST_TEST((val(ptr)->*&Test::func)(3)() == 3);
+ int i = 33;
+ BOOST_TEST((arg1->*&Test::func)(arg2)(cptr, i) == i);
     BOOST_TEST((val(cptr)->*&Test::func)(4)() == 4);
     BOOST_TEST((val(ptr)->*&Test::dunc)()() == 10);
 


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