ReactOS  0.4.15-dev-5112-g22d8c0f
seh0053.c File Reference
#include <windows.h>
#include "seh.h"
Include dependency graph for seh0053.c:

Go to the source code of this file.

Macros

#define BLUE   0
 
#define RED   1
 

Functions

int main ()
 

Variables

char test [] = "seh0053.c"
 

Macro Definition Documentation

◆ BLUE

#define BLUE   0

Definition at line 10 of file seh0053.c.

◆ RED

#define RED   1

Definition at line 11 of file seh0053.c.

Function Documentation

◆ main()

int main ( void  )

Definition at line 13 of file seh0053.c.

13  {
14  LONG Counter;
15  ULONG Index2 = RED;
16 
17  Counter = 0;
18 
19  try {
20  switch (Index2) {
21  case BLUE:
22  break;
23 
24  case RED:
25  Counter += 3;
26  leave;
27  }
28 
29  Counter += 100;
30  }
31  finally {
32  if (abnormal_termination() == FALSE) {
33  Counter += 5;
34  }
35  }
36  endtry
37 
38  if (Counter != 8) {
39  printf("TEST 53 FAILED, Counter = %d\n", Counter);
40  return -1;
41  }
42 
43  return 0;
44 }
#define endtry
Definition: seh.h:24
#define FALSE
Definition: types.h:117
long LONG
Definition: pedump.c:60
#define BLUE
Definition: seh0053.c:10
#define printf
Definition: freeldr.h:94
#define leave
Definition: btrfs_drv.h:138
static LARGE_INTEGER Counter
Definition: clock.c:43
unsigned int ULONG
Definition: retypes.h:1
#define abnormal_termination
Definition: seh.h:25
#define RED
Definition: seh0053.c:11

Variable Documentation

◆ test

char test[] = "seh0053.c"

Definition at line 8 of file seh0053.c.