kernel32/tests: Use a volatile pointer to cause a crash in the debugger tests. (Clang).
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
This commit is contained in:
parent
175e714656
commit
3eb8e325b8
|
@ -158,7 +158,7 @@ typedef struct
|
|||
|
||||
static void doCrash(int argc, char** argv)
|
||||
{
|
||||
char* p;
|
||||
volatile char* p;
|
||||
|
||||
/* make sure the exception gets to the debugger */
|
||||
SetErrorMode( 0 );
|
||||
|
|
Loading…
Reference in New Issue