ReactOS  0.4.15-dev-1397-g19779b3
rethrow4.cpp File Reference
#include <stdio.h>
Include dependency graph for rethrow4.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 rethrow4.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 ("Throwing 3...\n");
34  throw A();
35  }
36  }
37  }
38  catch (A)
39  {
40  printf ("Caught.\n");
41  }
42  printf ("c == %d, d == %d\n", c, d);
43  return c != d;
44 }
Definition: ehthrow.cxx:92
int d
Definition: rethrow4.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 rethrow4.cpp.

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

◆ d

int d

Definition at line 6 of file rethrow4.cpp.

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