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:
Charles Davis 2015-09-22 16:12:05 -06:00 committed by Alexandre Julliard
parent 175e714656
commit 3eb8e325b8
1 changed files with 1 additions and 1 deletions

View File

@ -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 );