Clang managed to optimize away the test crash
This commit is contained in:
parent
00f5c3d08e
commit
672c5da1ec
@ -89,7 +89,8 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
// Test shit here.
|
// Test shit here.
|
||||||
|
|
||||||
int a = *(int *)0x0;
|
volatile int *a = nullptr;
|
||||||
|
*a = 0xDEADBEEF;
|
||||||
|
|
||||||
delete handler;
|
delete handler;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user