int main() { int* value = new int(7); delete value; volatile int result = *value; return result == 7 ? 0 : 1; }