Skip to content

Commit

Permalink
LIA crash tests
Browse files Browse the repository at this point in the history
  • Loading branch information
obviousjim committed Jun 29, 2014
1 parent 11aa285 commit 5e10065
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion VSLia/src/testApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ void testApp::draw(){

//--------------------------------------------------------------
void testApp::keyPressed(int key){

if(key == '1'){
int* crashme = NULL;
*crashme = 0;
}

if(key == '2'){
for(;;){}
}
}

//--------------------------------------------------------------
Expand Down

0 comments on commit 5e10065

Please sign in to comment.