Abraxas/CCS  Home  Table of Contents

Module - 62.html

ABRAXAS SOFTWARE - CodeCheck CCS Test-Suite

CCS -C Test Suite for Module - 62.cpp

// 62) Don't allow exceptions to propagate across module boundaries.

class C62{
};
class C62& c62;
static char *cp;
char * f62a( char *) throw( char* ) ; // defined in 62a.cpp
void main() throw();
void
main() throw()



Function Name: main()

{
    try {
        throw f62a( cp );
        throw cp ;
        throw( c62 );
    }
    catch( int ) {  // int handler
    }
    catch( C62 & ) {     // class handler C62
    }
}

Abraxas/CCS  Home  Table of Contents

ABRAXAS SOFTWARE - CodeCheck CCS Test-Suite CCS