ReactOS 0.4.15-dev-7918-g2a2556c
nesttry.cxx File Reference
#include <stdio.h>
Include dependency graph for nesttry.cxx:

Go to the source code of this file.

Classes

class  A< T1 >
 

Functions

void foo ()
 
int main ()
 

Function Documentation

◆ foo()

void foo ( )

Definition at line 14 of file nesttry.cxx.

15{
16 printf("Throwing\n");
17 throw 1;
18}
#define printf
Definition: freeldr.h:93

Referenced by main().

◆ main()

int main ( void  )

Definition at line 20 of file nesttry.cxx.

21{
22 try{
23 try{
24 A a;
25 foo();
26 goto Label;
27 }catch(...){
28 printf("In first catch\nDoing new throw\n");
29 throw 2;
30 goto Label;
31 }
32 }catch(...){
33 printf("In outer catch\n");
34 }
35 printf("End\n");
36Label:;
37}
PWCHAR Label
Definition: format.c:70
Definition: ehthrow.cxx:93
#define a
Definition: ke_i.h:78
void foo()
Definition: nesttry.cxx:14