BOOST_FIXTURE_TEST_SUITE problem

Hi,
the simple snippet doesn't compile on 1.43 or trunk:
#include

On Mon, May 17, 2010 at 3:09 PM, Olaf Peter
Hi,
the simple snippet doesn't compile on 1.43 or trunk:
#include
struct F { F() : i( 0 ) { BOOST_TEST_MESSAGE( "setup fixture" ); } ~F() { BOOST_TEST_MESSAGE( "teardown fixture" ); }
int i; };
BOOST_FIXTURE_TEST_SUITE( s, F )
$ g++ -I ../boost/1.43/include/ rr.cpp -c rr.cpp:10: error: expected ‘}’ at end of input
which results into:
<snip>
where the closing '}' is really missing. Does I miss something?
See BOOST_AUTO_TEST_SUITE_END() --Michael Fawcett
participants (2)
-
Michael Fawcett
-
Olaf Peter