Searched refs:simple_ptr2 (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
H A Ddestructor.cpp222 class simple_ptr2 { class in namespace:dnvd
224 simple_ptr2(T* t): _ptr(t) {} function in class:dnvd::simple_ptr2
225 ~simple_ptr2() { delete _ptr; } // expected-warning {{delete called on 'dnvd::B' that has virtual functions but non-virtual destructor}}
352 simple_ptr2<B> b(new D()); // expected-note {{in instantiation of member function 'dnvd::simple_ptr2<dnvd::B>::~simple_ptr2' requested here}}

Completed in 101 milliseconds