diff --git a/test/iterator_adaptor_test.cpp b/test/iterator_adaptor_test.cpp index a06d340..dcb04b5 100644 --- a/test/iterator_adaptor_test.cpp +++ b/test/iterator_adaptor_test.cpp @@ -155,6 +155,8 @@ public: in_iterator(boost::input_iterator_archetype d) : super_t(d) { } }; +template struct undefined; + int main() { @@ -194,6 +196,11 @@ main() typedef ptr_iterator Iter1; BOOST_STATIC_ASSERT((boost::is_same::value)); BOOST_STATIC_ASSERT((boost::is_same::value)); + + BOOST_STATIC_ASSERT((boost::is_same::value)); + + undefined un; + #if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551)) // Borland has known problems with const BOOST_STATIC_ASSERT((boost::is_same::value));