Clang managed to optimize away the test crash

This commit is contained in:
Asher Baker 2016-07-01 23:32:55 +01:00
parent 00f5c3d08e
commit 672c5da1ec

View File

@ -89,7 +89,8 @@ int main(int argc, char *argv[])
// Test shit here.
int a = *(int *)0x0;
volatile int *a = nullptr;
*a = 0xDEADBEEF;
delete handler;