]> Creatis software - gdcm.git/blob - Testing/ExceptionAndPython/foo_main.cxx.minimal
* Test/TestReadWriteReadCompare.cxx was properly written (with a call
[gdcm.git] / Testing / ExceptionAndPython / foo_main.cxx.minimal
1 #include <iostream>
2
3 void MyWrappedFunction(void) {
4    try { throw "In thrower"; }
5    catch (const char * str) { cout<<"Exception"<< str << endl; }
6 }
7
8 int main() {
9         MyWrappedFunction();
10         return 0;
11 }