Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
bad_address.cpp File Reference
#include <xbyak/xbyak.h>
Include dependency graph for bad_address.cpp:

Go to the source code of this file.

Classes

struct  Code
 

Macros

#define TEST_EXCEPTION(state)
 

Functions

int main ()
 

Macro Definition Documentation

◆ TEST_EXCEPTION

#define TEST_EXCEPTION ( state)
Value:
{ \
num++; \
bool exception = false; \
try { \
state; \
} catch (...) { \
exception = true; \
} \
if (!exception) { \
printf("exception should arise for %s\n", #state); \
err++; \
} \
}

Definition at line 3 of file bad_address.cpp.

3#define TEST_EXCEPTION(state) \
4{ \
5 num++; \
6 bool exception = false; \
7 try { \
8 state; \
9 } catch (...) { \
10 exception = true; \
11 } \
12 if (!exception) { \
13 printf("exception should arise for %s\n", #state); \
14 err++; \
15 } \
16}

Function Documentation

◆ main()

int main ( void )

Definition at line 42 of file bad_address.cpp.

43{
44 Code c;
45}
Definition bench.cpp:18