summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_3632_Regression/test.cpp
blob: 3cba4b3845742d078514ce69f6de2e783f4a7735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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;
}