ReactOS 0.4.15-dev-8434-g155a7c7
seh0033.c File Reference
#include <windows.h>
#include "seh.h"
Include dependency graph for seh0033.c:

Go to the source code of this file.

Macros

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

Functions

int main ()
 

Variables

char test [] = "SEH0033.c"
 

Macro Definition Documentation

◆ faill

#define faill ( )

Definition at line 8 of file seh0033.c.

◆ finish

#define finish ( )

Definition at line 10 of file seh0033.c.

◆ startest

#define startest ( )

Definition at line 9 of file seh0033.c.

Function Documentation

◆ main()

int main ( void  )

Definition at line 14 of file seh0033.c.

14 {
15 ULONG Index1;
17
18 startest();
19
20 Counter = 0;
21
22 for (Index1 = 0; Index1 < 10; Index1 += 1) {
23 try {
24 try {
25 if ((Index1 & 0x1) == 0) {
26 continue;
27 } else {
28 /* add 1 to counter is Index1 is odd */
29 Counter += 1;
30 }
31 }
32 finally {
33 /* add 2 to counter always */
34 Counter += 2;
35 }
36 endtry
37 /* addd 3 to connter if Index1 is odd */
38 Counter += 3;
39 }
40 finally {
41 /* add 4 to counter always */
42 Counter += 4;
43 }
44 endtry
45 /* add 5 to counter if index1 is odd */
46 Counter += 5;
47 }
48
49 if (Counter != 105) {
50 printf("TEST 33 FAILED. Counter = %d\n\r", Counter);
51 return -1;
52 }
53
54 return 0;
55}
#define printf
Definition: freeldr.h:97
long LONG
Definition: pedump.c:60
#define startest()
Definition: seh0033.c:9
#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[] = "SEH0033.c"

Definition at line 12 of file seh0033.c.