mirror of
https://github.com/boostorg/test.git
synced 2026-02-01 21:12:07 +00:00
38 lines
1.2 KiB
C++
38 lines
1.2 KiB
C++
// (C) Copyright Gennadiy Rozental 2001-2002.
|
|
// (C) Copyright Beman Dawes 2001.
|
|
// Permission to copy, use, modify, sell and distribute this software
|
|
// is granted provided this copyright notice appears in all copies.
|
|
// This software is provided "as is" without express or implied warranty,
|
|
// and with no claim as to its suitability for any purpose.
|
|
|
|
// See http://www.boost.org for most recent version including documentation.
|
|
//
|
|
// File : $RCSfile$
|
|
//
|
|
// Version : $Id$
|
|
//
|
|
// Description : tests an ability of Program Execution Monitor to catch
|
|
// uncatched exceptions. Should fail during run.
|
|
// ***************************************************************************
|
|
|
|
int
|
|
cpp_main( int, char *[] ) // note the name
|
|
{
|
|
throw "Test error by throwing C-style string exception";
|
|
return 0;
|
|
}
|
|
|
|
//____________________________________________________________________________//
|
|
|
|
// ***************************************************************************
|
|
// Revision History :
|
|
//
|
|
// $Log$
|
|
// Revision 1.5 2002/11/02 20:04:43 rogeeff
|
|
// release 1.29.0 merged into the main trank
|
|
//
|
|
|
|
// ***************************************************************************
|
|
|
|
// EOF
|