ReactOS  0.4.15-dev-1397-g19779b3
rethrow5.cpp File Reference
#include <stdio.h>
Include dependency graph for rethrow5.cpp:

Go to the source code of this file.

Classes

class  A< T1 >
 

Functions

int main ()
 

Variables

int c
 
int d
 

Function Documentation

◆ main()

int main ( void  )

Definition at line 15 of file rethrow5.cpp.

16 {
17  try
18  {
19  try
20  {
21  printf ("Throwing 1...\n");
22  throw A();
23  }
24  catch (A)
25  {
26  try
27  {
28  printf ("Throwing 2...\n");
29  throw;
30  }
31  catch (A)
32  {
33  printf ("Falling out...\n");
34  }
35  }
36  }
37  catch (A)
38  {
39  printf ("Caught.\n");
40  }
41  printf ("c == %d, d == %d\n", c, d);
42  return c != d;
43 }
Definition: ehthrow.cxx:92
int d
Definition: rethrow5.cpp:6
#define A(row, col)
const GLubyte * c
Definition: glext.h:8905
#define printf
Definition: config.h:203

Variable Documentation

◆ c

int c

Definition at line 6 of file rethrow5.cpp.

Referenced by A< T1 >::A().

◆ d

int d

Definition at line 6 of file rethrow5.cpp.

Referenced by main(), and A< T1 >::~A().