git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
13 lines
No EOL
244 B
C
13 lines
No EOL
244 B
C
#include <assert.h>
|
|
#include "c_backend_cpp_exception/c_backend_cpp_exception_proxy.h"
|
|
|
|
int main()
|
|
{
|
|
assert(checkVal == 0);
|
|
throwSomeKnownException();
|
|
assert(checkVal == 1);
|
|
throwSomeUnknownException();
|
|
assert(checkVal == 2);
|
|
|
|
return 0;
|
|
} |