adding a test for cons list default construction

[SVN r11016]
This commit is contained in:
Jaakko Järvi
2001-09-04 10:50:13 +00:00
parent c789016905
commit 1c01745973

View File

@ -270,6 +270,9 @@ void foo8()
int i = 3; int i = 3;
cons<int&, cons<const int, cons<volatile float, null_type> > > c(i, b); cons<int&, cons<const int, cons<volatile float, null_type> > > c(i, b);
BOOST_TEST(make_tuple(3,2,1)==c); BOOST_TEST(make_tuple(3,2,1)==c);
cons<char, cons<int, cons<float, null_type> > > x;
#endif #endif
} }
@ -281,7 +284,6 @@ void foo9()
BOOST_TEST(get<1>(t1) == 3.3f); BOOST_TEST(get<1>(t1) == 3.3f);
} }
// -------------------------------- // --------------------------------
// ---------------------------- // ----------------------------
int test_main(int, char *[]) { int test_main(int, char *[]) {