ReactOS 0.4.15-dev-7907-g95bf896
rethrow1.cpp File Reference
#include <stdio.h>
Include dependency graph for rethrow1.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 rethrow1.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 A();
30 }
31 catch (A)
32 {
33 printf ("Throwing 3...\n");
34 throw;
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:93
#define A(row, col)
#define printf
Definition: freeldr.h:93
const GLubyte * c
Definition: glext.h:8905
int d
Definition: rethrow1.cpp:6

Variable Documentation

◆ c

int c

Definition at line 6 of file rethrow1.cpp.

◆ d

int d

Definition at line 6 of file rethrow1.cpp.

Referenced by main().