Searched refs:TestInstanceCall (Results 1 – 2 of 2) sorted by relevance
7 class TestInstanceCall { class13 TestInstanceCall *p; // expected-note {{'p' declared without an initial value}} in test_ic()18 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_null()23 TestInstanceCall *p; in test_ic_set_to_null()28 void test_ic_null(TestInstanceCall *p) { in test_ic_null()34 TestInstanceCall *p = 0; // expected-note {{'p' initialized to a null pointer value}} in test_ic_member_ptr()35 typedef void (TestInstanceCall::*IC_Ptr)(); in test_ic_member_ptr()36 IC_Ptr bar = &TestInstanceCall::foo; in test_ic_member_ptr()40 void test_cast(const TestInstanceCall *p) { in test_cast()42 …const_cast<TestInstanceCall *>(p)->foo(); // expected-warning {{Called C++ object pointer is null}… in test_cast()