ReactOS 0.4.15-dev-7834-g00c4b3d
seh0035.c File Reference
#include <windows.h>
#include "seh.h"
Include dependency graph for seh0035.c:

Go to the source code of this file.

Macros

#define faill()
 
#define startest()
 
#define finish()
 

Functions

int main ()
 

Variables

char test [] = "SEH0035.c"
 

Macro Definition Documentation

◆ faill

#define faill ( )

Definition at line 8 of file seh0035.c.

◆ finish

#define finish ( )

Definition at line 10 of file seh0035.c.

◆ startest

#define startest ( )

Definition at line 9 of file seh0035.c.

Function Documentation

◆ main()

int main ( void  )

Definition at line 14 of file seh0035.c.

14 {
15 ULONG Index1;
17
18 Counter = 0;
19
20 for (Index1 = 0; Index1 < 10; Index1 += 1) {
21 try {
22 try {
23 if ((Index1 & 0x1) == 0) {
24 /* add 1 to counter if INdex1 is odd */
25 Counter += 1;
26 }
27 }
28 finally {
29 /* always add 2 to counter */
30 Counter += 2;
31#if defined(_MSC_VER) && !defined(__clang__)
32 continue;
33#endif
34 }
35 endtry
36 /* never get here due to continue */
37 Counter += 4;
38 }
39 finally {
40 /* always add 5 to counter */
41 Counter += 5;
42 }
43 endtry
44 /* never get here due to continue */
45 Counter += 6;
46 }
47
48 if (Counter != 75) {
49 printf("TEST 35 FAILED. Counter = %d\n\r", Counter);
50 return -1;
51 }
52
53 return 0;
54}
#define printf
Definition: freeldr.h:93
long LONG
Definition: pedump.c:60
#define endtry
Definition: seh.h:24
static LARGE_INTEGER Counter
Definition: clock.c:43
uint32_t ULONG
Definition: typedefs.h:59

Variable Documentation

◆ test

char test[] = "SEH0035.c"

Definition at line 12 of file seh0035.c.