*** empty log message ***

[SVN r20549]
This commit is contained in:
Fernando Cacciola
2003-10-29 15:47:01 +00:00
parent e8a91e1ce3
commit 3b7d49e4aa

View File

@ -308,12 +308,23 @@ void test_with_class_type()
BOOST_CHECK ( X::count == 0 ) ;
}
void test_aliasing()
{
int a = 1 ;
optional<int&> opt(a);
int b = 2 ;
opt = b;
BOOST_CHECK( a == b ) ;
}
int test_main( int, char* [] )
{
try
{
test_with_class_type();
test_with_builtin_types();
test_aliasing();
}
catch ( ... )
{