//[example_code #include #include int foo() { throw std::runtime_error( "big trouble" ); } int cpp_main( int, char* [] ) // note the name { foo(); return 0; } //]