Add separate license file (issue #29)

Fix bug in tests (lack of volatile) (Issue #28)
This commit is contained in:
Mark VanderVoord
2024-03-08 16:54:45 -05:00
parent 3667ee2d44
commit 18d020cec7
3 changed files with 27 additions and 14 deletions
+3 -3
View File
@@ -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;