ReactOS 0.4.15-dev-7931-gfd331f1
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}
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}