Clang managed to optimize away the test crash
This commit is contained in:
+2
-1
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user