MCPcopy Create free account
hub / github.com/cpputest/cpputest / TEST

Function TEST

tests/CppUTest/MemoryOperatorOverloadTest.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15};
16
17TEST(BasicBehavior, CanDeleteNullPointers)
18{
19 delete (char*) NULLPTR;
20 delete [] (char*) NULLPTR;
21}
22
23#if CPPUTEST_USE_MEM_LEAK_DETECTION
24

Callers

nothing calls this directly

Calls 15

deleteInvalidatesMemoryFunction · 0.85
operator deleteFunction · 0.85
operator delete[]Function · 0.85
cpputest_malloc_locationFunction · 0.85
cpputest_free_locationFunction · 0.85
freeInvalidatesMemoryFunction · 0.85
PlatformSpecificMallocFunction · 0.85
PlatformSpecificFreeFunction · 0.85
newAllocationFunction · 0.85
newArrayAllocationFunction · 0.85
mallocAllocationFunction · 0.85

Tested by

no test coverage detected