diff options
Diffstat (limited to 'ACE/TAO/tests/Bug_3632_Regression/test.cpp')
-rw-r--r-- | ACE/TAO/tests/Bug_3632_Regression/test.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ACE/TAO/tests/Bug_3632_Regression/test.cpp b/ACE/TAO/tests/Bug_3632_Regression/test.cpp new file mode 100644 index 00000000000..fd5f1ade0d9 --- /dev/null +++ b/ACE/TAO/tests/Bug_3632_Regression/test.cpp @@ -0,0 +1,24 @@ +// $Id$ + +#include "testC.h" + +int +ACE_TMAIN (int, ACE_TCHAR *[]) +{ + try + { + Test::bounded_string_seq seq; + seq.length (11); + ACE_TEST_ASSERT (seq.maximum () == 10); + } + catch (::CORBA::BAD_PARAM const &) + { + // ignore this exception since it's expected. + } + catch (::CORBA::Exception const &) + { + return 1; + } + + return 0; +} |