ReactOS 0.4.15-dev-7931-gfd331f1
seh0015.c File Reference
#include <windows.h>
#include "seh.h"
Include dependency graph for seh0015.c:

Go to the source code of this file.

Functions

int main ()
 

Variables

char test [] = "SEH0015.c"
 

Function Documentation

◆ main()

int main ( void  )

Definition at line 10 of file seh0015.c.

10 {
12
13 Counter = 0;
14
15 try {
16 try {
17 /* set counter = 1 */
18 Counter += 1;
19 }
20 finally {
21 /* set counter = 2 */
22 Counter += 1;
23#if defined(_MSC_VER) && !defined(__clang__)
24 goto t10;
25#endif
26 }
27 endtry
28#ifndef _MSC_VER
29 goto t10;
30#endif
31 }
32 finally {
33 /* set counter = 3 */
34 Counter += 1;
35 }
36 endtry
37
38t10:
39 ;
40
41 if (Counter != 3) {
42 printf("TEST 15 FAILED. Counter = %d\n\r", Counter);
43 return -1;
44 }
45
46 return 0;
47}
#define printf
Definition: freeldr.h:97
long LONG
Definition: pedump.c:60
#define endtry
Definition: seh.h:24
static LARGE_INTEGER Counter
Definition: clock.c:43

Variable Documentation

◆ test

char test[] = "SEH0015.c"

Definition at line 8 of file seh0015.c.