ReactOS 0.4.16-dev-306-g647d351
seh_noreturn.c File Reference

Go to the source code of this file.

Functions

 __declspec (noreturn)
 
int filter ()
 
void moo1 (int arg)
 
void moo2 (int arg)
 

Function Documentation

◆ __declspec()

__declspec ( noreturn  )

Definition at line 7 of file seh_noreturn.c.

9 { bar(arg); }
void bar()
Definition: ehthrow.cxx:142

◆ filter()

int filter ( )

Definition at line 11 of file seh_noreturn.c.

11{ return bar(3); }

Referenced by moo1().

◆ moo1()

void moo1 ( int  arg)

Definition at line 13 of file seh_noreturn.c.

13 {
14 __try { bar(arg); }
15 __except(filter()) { bar(1); }
16
17 bar(0);
18}
#define __try
Definition: pseh2_64.h:172
#define __except
Definition: pseh2_64.h:173
int filter()
Definition: seh_noreturn.c:11

◆ moo2()

void moo2 ( int  arg)

Definition at line 20 of file seh_noreturn.c.

20 {
21 __try { bar(arg); }
22 __finally { bar(2); }
23
24 bar(0);
25}
#define __finally
Definition: pseh2_64.h:174