Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
EXCEPTIONS.cpp
Go to the documentation of this file.
1// checking exceptions
2
3
25#include "config.h"
26
27#ifndef _RWSTD_NO_HONOR_STD
28# ifdef _RWSTD_NO_STD_TERMINATE
29# include "terminate.h"
30# endif // _RWSTD_NO_STD_TERMINATE
31#endif // _RWSTD_NO_HONOR_STD
32
33
34int main ()
35{
36 try {
37 throw 1;
38 }
39 catch (int i) {
40 return 0;
41 }
42 catch (...) {
43 return 1;
44 }
45 return 2;
46}
#define i
Definition 17.names.cpp:126
int main()