Searched refs:DerefClass (Results 1 – 2 of 2) sorted by relevance
227 class DerefClass{ class230 DerefClass() {}; in DerefClass() function in DerefClass231 …~DerefClass() {*x = 1;}; //expected-warning {{Dereference of null pointer (loaded from field 'x')}} in ~DerefClass()234 void testDestCall(DerefClass *arg) { in testDestCall()239 DerefClass *pair = new DerefClass(); in test_delete_dtor_Arg()
356 class DerefClass{ class359 DerefClass() {} in DerefClass() function in DerefClass360 ~DerefClass() {*x = 1;} in ~DerefClass()364 DerefClass *foo = new DerefClass(); in testDoubleDeleteClassInstance()