void foo() { int* v = new int(1); delete v; }