foo.cpp   [plain text]



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