mirror of
https://github.com/throwtheswitch/cexception.git
synced 2026-08-04 02:07:52 +00:00
Add separate license file (issue #29)
Fix bug in tests (lack of volatile) (Issue #28)
This commit is contained in:
@@ -281,7 +281,7 @@ void test_CanHaveNestedTryBlocksInASingleFunction_ThrowInside(void)
|
||||
|
||||
void test_CanHaveNestedTryBlocksInASingleFunction_ThrowOutside(void)
|
||||
{
|
||||
int i = 0;
|
||||
volatile int i = 0;
|
||||
CEXCEPTION_T e;
|
||||
|
||||
Try
|
||||
@@ -343,7 +343,7 @@ void test_AThrowWithoutOutsideATryCatchWillUseDefaultHandlerEvenAfterTryCatch(vo
|
||||
|
||||
void test_AbilityToExitTryWithoutThrowingAnError(void)
|
||||
{
|
||||
int i=0;
|
||||
volatile int i=0;
|
||||
CEXCEPTION_T e;
|
||||
|
||||
Try
|
||||
@@ -364,7 +364,7 @@ void test_AbilityToExitTryWithoutThrowingAnError(void)
|
||||
|
||||
void test_AbilityToExitTryWillOnlyExitOneLevel(void)
|
||||
{
|
||||
int i=0;
|
||||
volatile int i=0;
|
||||
CEXCEPTION_T e;
|
||||
CEXCEPTION_T e2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user