1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
// -*- C++ -*- // $Id$ #include "testC.h" #include "ace/Log_Msg.h" int ACE_TMAIN(int, ACE_TCHAR *[]) { try { // creation Foo::Node node; node.nodes.length (2); } catch (const CORBA::Exception& ex) { ex._tao_print_exception ("Bug_3042_Test test:"); return -1; } catch (...) { return -1; } return 0; }