[COMPILER_APITEST] Fix pseh test that failed when compiled with GCC

This commit is contained in:
Timo Kreuzer 2023-01-30 20:25:31 +02:00
parent 6cad84a769
commit 8233aa5667

View file

@ -2425,7 +2425,12 @@ DEFINE_TEST(test_unvolatile)
}
_SEH2_END;
/* This works with a proper SEH implementation, but not with our hacked PSEH */
#ifdef _USE_NATIVE_SEH
return (val == 4);
#else
return (val == 4 || val == 3);
#endif
}
DEFINE_TEST(test_unvolatile_2)