GME  13
CrashTest.h
Go to the documentation of this file.
00001 
00002 //
00003 // CrashTest.h : Nasty functions which cause various crashes
00004 //
00006 
00007 #if !defined(CRASH_TEST_INCLUDED)
00008 #define CRASH_TEST_INCLUDED
00009 
00010 #if _MSC_VER > 1000
00011 #pragma once
00012 #endif // _MSC_VER > 1000
00013 
00014 class CrashTest
00015 {
00016 public:
00017         CrashTest();
00018         ~CrashTest();
00019 
00020         static void IllegalWrite(void);
00021         static void IllegalRead(void);
00022         static void IllegalReadInCRuntime(void);
00023         static void IllegalCodeRead(void);
00024         static void DivideByZero(void);
00025         static void Abort(void);
00026         static void Terminate(void);
00027 };
00028 
00029 #endif // !defined(CRASH_TEST_INCLUDED)